2012-09-29 09:41:47 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ItemHandler.h"
|
|
|
|
#include "../World.h"
|
|
|
|
|
|
|
|
class cItemBedHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
2012-10-18 15:41:29 -04:00
|
|
|
cItemBedHandler(int a_ItemType)
|
|
|
|
: cItemHandler(a_ItemType)
|
2012-09-29 09:41:47 -04:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual bool IsPlaceable() override
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual BLOCKTYPE GetBlockType() override
|
|
|
|
{
|
|
|
|
return E_BLOCK_BED;
|
|
|
|
}
|
|
|
|
};
|