the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 20 lines 546 B view raw
1#pragma once 2#include "LiquidTile.h" 3 4class Random; 5 6class LiquidTileStatic : public LiquidTile 7{ 8 friend class Tile; 9protected: 10 LiquidTileStatic(int id, Material *material); 11public: 12 virtual bool isPathfindable(LevelSource *level, int x, int y, int z); 13 virtual void neighborChanged(Level *level, int x, int y, int z, int type); 14private: 15 virtual void setDynamic(Level *level, int x, int y, int z); 16public: 17 virtual void tick(Level *level, int x, int y, int z, Random *random); 18private: 19 bool isFlammable(Level *level, int x, int y, int z); 20};