summaryrefslogblamecommitdiffstats
path: root/src/Blocks/BlockStone.h
blob: cd5230f4951814154c4c52b5d4cce738b4c8b2ed (plain) (tree)
1
2
3
4



                         






















                                                                                          

#pragma once

#include "BlockHandler.h"





class cBlockStoneHandler :
	public cBlockHandler
{
public:
	cBlockStoneHandler(BLOCKTYPE a_BlockType)
		: cBlockHandler(a_BlockType)
	{
	}

	virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
	{
		a_Pickups.push_back(cItem(E_BLOCK_COBBLESTONE, 1, 0));
	}
} ;