SimplePlaceableItemHandler style
This commit is contained in:
parent
9d277f1d10
commit
d8406c7c58
@ -1,18 +1,22 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
#include "ItemHandler.h"
|
#include "ItemHandler.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cSimplePlaceableItemHandler :
|
class cSimplePlaceableItemHandler :
|
||||||
public cItemHandler
|
public cItemHandler
|
||||||
{
|
{
|
||||||
using Super = cItemHandler;
|
using Super = cItemHandler;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
cSimplePlaceableItemHandler(int a_ItemType, BLOCKTYPE a_BlockType) :
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
BLOCKTYPE m_BlockType;
|
BLOCKTYPE m_BlockType;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user