the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Bush.h"
3
4class WaterlilyTile : public Bush
5{
6private:
7 // static const int col = 0x208030;
8
9public:
10 WaterlilyTile(int id);
11 virtual void updateDefaultShape(); // 4J Added override
12
13 virtual int getRenderShape();
14 virtual void addAABBs(Level *level, int x, int y, int z, AABB *box, AABBList *boxes, shared_ptr<Entity> source);
15 virtual AABB *getAABB(Level *level, int x, int y, int z);
16 virtual int getColor() const;
17 virtual int getColor(int auxData);
18 virtual int getColor(LevelSource *level, int x, int y, int z);
19 virtual int getColor(LevelSource *level, int x, int y, int z, int data); // 4J added
20protected:
21 virtual bool mayPlaceOn(int tile);
22 virtual bool canSurvive(Level *level, int x, int y, int z);
23 bool growTree(Level *level, int x, int y, int z, Random *random);
24};