blob: 5658d76ad6f3822bb48c5583634093649201cdf8 (
plain) (
tree)
|
|
#pragma once
#include "Block.h"
#include "../MersenneTwister.h"
#include "../cWorld.h"
class cBlockRedstoneOreHandler : public cBlockHandler
{
public:
cBlockRedstoneOreHandler(BLOCKTYPE a_BlockID)
: cBlockHandler(a_BlockID)
{
}
virtual int GetDropID()
{
return E_ITEM_REDSTONE_DUST;
}
virtual char GetDropCount()
{
MTRand r1;
return 4 + r1.randInt(1);
}
};
|