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