the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 20 lines 473 B view raw
1#pragma once 2 3#include "Tile.h" 4 5class SnowTile : public Tile 6{ 7 friend class Tile; 8protected: 9 SnowTile(int id); 10 11public: 12 int getResource(int data, Random *random, int playerBonusLevel); 13 14 int getResourceCount(Random *random); 15 16 void tick(Level *level, int x, int y, int z, Random *random); 17 18 // 4J Added so we can check before we try to add a tile to the tick list if it's actually going to do seomthing 19 virtual bool shouldTileTick(Level *level, int x,int y,int z); 20};