summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemBed.h
blob: 1b2c54cbd288eff0c130c0165c1a233e8599e29e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#pragma once

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

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

	}

	virtual bool IsPlaceable() override
	{
		return true;
	}

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