summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockVine.h
blob: d601e622c5824104de32db7bfd2fb8fb80a8acb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include "Block.h"


class cBlockVineHandler : public cBlockHandler
{
public:
	cBlockVineHandler(BLOCKTYPE a_BlockID);
	
	virtual bool IgnoreBuildCollision()
	{
		return true;
	}
	
	virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, char a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
	
	
	virtual bool AllowBlockOnTop()
	{
		return false;
	}
	
};