mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:23:37 +00:00
25 lines
572 B
C++
25 lines
572 B
C++
#pragma once
|
|
#include "LiquidTile.h"
|
|
|
|
class Random;
|
|
|
|
class LiquidTileStatic : public LiquidTile {
|
|
friend class Tile;
|
|
|
|
protected:
|
|
LiquidTileStatic(int id, Material* material);
|
|
|
|
public:
|
|
virtual bool isPathfindable(LevelSource* level, int x, int y, int z);
|
|
virtual void neighborChanged(Level* level, int x, int y, int z, int type);
|
|
|
|
private:
|
|
virtual void setDynamic(Level* level, int x, int y, int z);
|
|
|
|
public:
|
|
virtual void tick(Level* level, int x, int y, int z, Random* random);
|
|
|
|
private:
|
|
bool isFlammable(Level* level, int x, int y, int z);
|
|
};
|