20 lines
473 B
C++
20 lines
473 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);
|
|
}; |