summaryrefslogblamecommitdiffstats
path: root/source/Blocks/BlockStone.h
blob: c4faf249833b33fc7d3ebeebb9778d89c8bde5fe (plain) (tree)
1
2
3
4
5
6
7
 
             
 
                          
                                
                      
 





                             






                                                
                                                                                           
          






                                                                 

#pragma once

#include "BlockHandler.h"
#include "../MersenneTwister.h"
#include "../World.h"





class cBlockStoneHandler :
	public cBlockHandler
{
public:
	cBlockStoneHandler(BLOCKTYPE a_BlockID)
		: cBlockHandler(a_BlockID)
	{
	}

	virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
	{
		a_Pickups.push_back(cItem(E_BLOCK_STONE, 1, 0));
	}
} ;