summaryrefslogtreecommitdiffstats
path: root/source/items/ItemBed.h
blob: b49df65a336c3bd9635304752a00ac56b0eecadc (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_ItemID)
		: cItemHandler(a_ItemID)
	{

	}

	virtual bool IsPlaceable() override
	{
		return true;
	}

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