2013-07-29 07:13:03 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "BlockHandler.h"
|
2014-03-06 19:30:34 -05:00
|
|
|
#include "BlockEntity.h"
|
2013-07-29 07:13:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cBlockFlowerPotHandler :
|
2014-03-06 19:30:34 -05:00
|
|
|
public cBlockEntityHandler
|
2013-07-29 07:13:03 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
cBlockFlowerPotHandler(BLOCKTYPE a_BlockType) :
|
2014-03-06 19:30:34 -05:00
|
|
|
cBlockEntityHandler(a_BlockType)
|
2013-07-29 07:13:03 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
|
|
|
{
|
|
|
|
a_Pickups.push_back(cItem(E_ITEM_FLOWER_POT, 1, 0));
|
|
|
|
}
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|