32ee4aaf1e
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
35 lines
460 B
C++
35 lines
460 B
C++
|
|
#pragma once
|
|
|
|
#include "BlockHandler.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cBlockClothHandler :
|
|
public cBlockHandler
|
|
{
|
|
public:
|
|
cBlockClothHandler(BLOCKTYPE a_BlockType)
|
|
: cBlockHandler(a_BlockType)
|
|
{
|
|
}
|
|
|
|
|
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
|
{
|
|
a_Pickups.push_back(cItem(E_BLOCK_WOOL, 1, a_BlockMeta));
|
|
}
|
|
|
|
|
|
virtual const char * GetStepSound(void) override
|
|
{
|
|
return "step.cloth";
|
|
}
|
|
} ;
|
|
|
|
|
|
|
|
|