1
0
cuberite-2a/source/Blocks/BlockStone.h
2013-07-29 12:13:03 +01:00

30 lines
395 B
C++

#pragma once
#include "BlockHandler.h"
#include "../MersenneTwister.h"
#include "../World.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));
}
} ;