summaryrefslogblamecommitdiffstats
path: root/source/blocks/BlockPiston.h
blob: 69d3a204f04b1bcbb8fb144e327f3a3d062afebc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                                              
#pragma once
#include "Block.h"


class cBlockPistonHandler : public cBlockHandler
{
public:
	cBlockPistonHandler(BLOCKTYPE a_BlockID);
	virtual void OnPlaced(cWorld *a_World, int a_X, int a_Y, int a_Z, int a_Dir);
	virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z);
	
	
	virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, char a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
	
};