2006de2217
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6
31 lines
440 B
C++
31 lines
440 B
C++
|
|
// 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));
|
|
}
|
|
} ;
|
|
|
|
|
|
|
|
|