2013-07-29 07:13:03 -04: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 08:59:24 -04:00
|
|
|
// tolua_end
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2020-04-13 12:38:06 -04:00
|
|
|
using Super = cDropSpenserEntity;
|
2013-07-29 07:13:03 -04:00
|
|
|
|
2019-09-29 08:59:24 -04:00
|
|
|
public: // tolua_export
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2015-07-31 10:49:10 -04:00
|
|
|
/** Constructor used for normal operation */
|
2019-09-29 08:59:24 -04:00
|
|
|
cDropperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World);
|
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
protected:
|
2019-09-29 08:59:24 -04:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
// cDropSpenserEntity overrides:
|
|
|
|
virtual void DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum) override;
|
|
|
|
} ; // tolua_export
|