aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SnowTile.h
blob: 83b1f614be8bde381bc3a0f73cd53f6178823466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
};