summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockRedstoneOre.h
blob: 5658d76ad6f3822bb48c5583634093649201cdf8 (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
#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);
	}

	
};