1
0

SimplePlaceableItemHandler style

This commit is contained in:
Tiger Wang 2020-07-14 18:28:06 +01:00
parent 9d277f1d10
commit d8406c7c58

View File

@ -1,18 +1,22 @@
#pragma once
#include "ItemHandler.h"
class cSimplePlaceableItemHandler :
public cItemHandler
{
using Super = cItemHandler;
public:
cSimplePlaceableItemHandler(int a_ItemType, BLOCKTYPE a_BlockType) :
Super(a_ItemType)
Super(a_ItemType),
m_BlockType(a_BlockType)
{
m_BlockType = a_BlockType;
}
@ -32,6 +36,7 @@ public:
return true;
}
protected:
private:
BLOCKTYPE m_BlockType;
};