summaryrefslogblamecommitdiffstats
path: root/source/items/ItemBed.h
blob: b49df65a336c3bd9635304752a00ac56b0eecadc (plain) (tree)
























                                                  

#pragma once

#include "ItemHandler.h"
#include "../World.h"

class cItemBedHandler : public cItemHandler
{
public:
	cItemBedHandler(int a_ItemID)
		: cItemHandler(a_ItemID)
	{

	}

	virtual bool IsPlaceable() override
	{
		return true;
	}

	virtual BLOCKTYPE GetBlockType() override
	{
		return E_BLOCK_BED;
	}
};