first commit
This commit is contained in:
20
Minecraft.World/SnowTile.h
Normal file
20
Minecraft.World/SnowTile.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user