2013-07-29 07:13:03 -04:00
|
|
|
|
|
|
|
// DropperEntity.cpp
|
|
|
|
|
|
|
|
// Implements the cRtopperEntity class representing a Dropper block entity
|
|
|
|
|
|
|
|
#include "Globals.h"
|
|
|
|
#include "DropperEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-29 08:59:24 -04:00
|
|
|
cDropperEntity::cDropperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
|
|
|
|
super(a_BlockType, a_BlockMeta, a_Pos, a_World)
|
2013-07-29 07:13:03 -04:00
|
|
|
{
|
2017-06-15 09:32:33 -04:00
|
|
|
ASSERT(a_BlockType == E_BLOCK_DROPPER);
|
2013-07-29 07:13:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void cDropperEntity::DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum)
|
|
|
|
{
|
|
|
|
DropFromSlot(a_Chunk, a_SlotNum);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|