2013-07-29 11:13:03 +00:00
|
|
|
|
|
|
|
// DropperEntity.h
|
|
|
|
|
|
|
|
// Declares the cDropperEntity class representing a dropper block entity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "DropSpenserEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// tolua_begin
|
|
|
|
class cDropperEntity :
|
|
|
|
public cDropSpenserEntity
|
|
|
|
{
|
2019-09-29 12:59:24 +00:00
|
|
|
// tolua_end
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2020-04-13 16:38:06 +00:00
|
|
|
using Super = cDropSpenserEntity;
|
2013-07-29 11:13:03 +00:00
|
|
|
|
2019-09-29 12:59:24 +00:00
|
|
|
public: // tolua_export
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2014-11-27 21:42:08 +00:00
|
|
|
BLOCKENTITY_PROTODEF(cDropperEntity)
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2015-07-31 14:49:10 +00:00
|
|
|
/** Constructor used for normal operation */
|
2019-09-29 12:59:24 +00:00
|
|
|
cDropperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World);
|
|
|
|
|
2013-07-29 11:13:03 +00:00
|
|
|
|
|
|
|
protected:
|
2019-09-29 12:59:24 +00:00
|
|
|
|
2013-07-29 11:13:03 +00:00
|
|
|
// cDropSpenserEntity overrides:
|
|
|
|
virtual void DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum) override;
|
|
|
|
} ; // tolua_export
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|