mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-27 05:59:32 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
28 lines
641 B
C++
28 lines
641 B
C++
#pragma once
|
|
|
|
#include "CropTile.h"
|
|
|
|
class BeetrootTile : public CropTile
|
|
{
|
|
friend class ChunkRebuildData;
|
|
private:
|
|
Icon *icons[4];
|
|
|
|
public:
|
|
BeetrootTile(int id);
|
|
|
|
Icon *getTexture(int face, int data);
|
|
|
|
protected:
|
|
int getBaseSeedId();
|
|
int getBasePlantId();
|
|
|
|
public:
|
|
void tick(Level *level, int x, int y, int z, Random *random);
|
|
void growCrops(Level *level, int x, int y, int z);
|
|
int getResource(int data, Random *random, int playerBonusLevel);
|
|
void spawnResources(Level *level, int x, int y, int z, int data, float odds, int playerBonus);
|
|
void registerIcons(IconRegister *iconRegister);
|
|
virtual float getShapeHeight(int age);
|
|
};
|