summaryrefslogblamecommitdiffstats
path: root/source/Blocks/BlockStone.h
blob: 69809c078c5e3c172aa5ba5c3a8c0ef992d766ff (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_BlockType)
		: cBlockHandler(a_BlockType)
	{
	}

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