mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:33:35 +00:00
21 lines
503 B
C++
21 lines
503 B
C++
#pragma once
|
|
|
|
#include "Tile.h"
|
|
|
|
class SnowTile : public Tile {
|
|
friend class Tile;
|
|
|
|
protected:
|
|
SnowTile(int id);
|
|
|
|
public:
|
|
int getResource(int data, Random* random, int playerBonusLevel);
|
|
|
|
int getResourceCount(Random* random);
|
|
|
|
void tick(Level* level, int x, int y, int z, Random* random);
|
|
|
|
// 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
|
|
virtual bool shouldTileTick(Level* level, int x, int y, int z);
|
|
}; |