summaryrefslogblamecommitdiffstats
path: root/source/blocks/BlockVine.h
blob: d601e622c5824104de32db7bfd2fb8fb80a8acb4 (plain) (tree)






















                                                                                                                              
#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;
	}
	
};