mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 15:53:37 +00:00
16 lines
282 B
C++
16 lines
282 B
C++
#pragma once
|
|
|
|
#include "Tile.h"
|
|
|
|
class SpringTile : public Tile {
|
|
private:
|
|
int liquidTileId;
|
|
|
|
protected:
|
|
SpringTile(int id, int liquidTileId);
|
|
|
|
public:
|
|
void onPlace(Level* level, int x, int y, int z);
|
|
|
|
void tick(Level* level, int x, int y, int z, Random* random);
|
|
}; |