SimplePlaceableItemHandler style
This commit is contained in:
parent
9d277f1d10
commit
d8406c7c58
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user