diff options
Diffstat (limited to 'source/items/ItemDoor.h')
-rw-r--r-- | source/items/ItemDoor.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/items/ItemDoor.h b/source/items/ItemDoor.h deleted file mode 100644 index 6e841333f..000000000 --- a/source/items/ItemDoor.h +++ /dev/null @@ -1,26 +0,0 @@ -
-#pragma once
-
-#include "ItemHandler.h"
-#include "../World.h"
-
-class cItemDoorHandler : public cItemHandler
-{
-public:
- cItemDoorHandler(int a_ItemID)
- : cItemHandler(a_ItemID)
- {
-
- }
-
- virtual bool IsPlaceable() override
- {
- return true;
- }
-
- virtual BLOCKTYPE GetBlockType() override
- {
- return (m_ItemID == E_ITEM_WOODEN_DOOR) ? E_BLOCK_WOODEN_DOOR : E_BLOCK_IRON_DOOR;
- }
-
-};
\ No newline at end of file |