mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 02:33:36 +00:00
24 lines
464 B
C++
24 lines
464 B
C++
#pragma once
|
|
|
|
#include "CropTile.h"
|
|
|
|
class PotatoTile : public CropTile {
|
|
friend class ChunkRebuildData;
|
|
|
|
private:
|
|
Icon* icons[4];
|
|
|
|
public:
|
|
PotatoTile(int id);
|
|
|
|
Icon* getTexture(int face, int data);
|
|
|
|
protected:
|
|
int getBaseSeedId();
|
|
int getBasePlantId();
|
|
|
|
public:
|
|
void spawnResources(Level* level, int x, int y, int z, int data, float odds,
|
|
int playerBonus);
|
|
void registerIcons(IconRegister* iconRegister);
|
|
}; |