summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCobWeb.h
blob: c26935319a855baca9301f93e8123f957f0690d1 (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
26
27
28
29
30

// BlockCobWeb.h

// Declares the cBlockCobWebHandler object representing the BlockHandler for cobwebs

#pragma once





class cBlockCobWebHandler :
	public cBlockHandler
{
public:
	cBlockCobWebHandler(BLOCKTYPE a_BlockType)
		: cBlockHandler(a_BlockType)
	{
	}


	virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_Meta) /*override*/
	{
		a_Pickups.push_back(cItem(E_ITEM_STRING, 1, 0));
	}
} ;