summaryrefslogblamecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.h
blob: 6104d39b452338c0da28cac0014110b5ca70b533 (plain) (tree)
1
2
3
4
5
6
7
8
9
 

            
                      

 


                                 
                                                   

   
 

                                                                     
                                           
                          
                                               
 
                                                       
        
       



                                                 

                                                                    
 
   

#pragma once

#include "Simulator.h"


class cRedstoneSimulatorChunkData
{
public:
	virtual ~cRedstoneSimulatorChunkData() = 0;
} ;


inline cRedstoneSimulatorChunkData::~cRedstoneSimulatorChunkData() {}

template <class ChunkType, class WorldType>
class cRedstoneSimulator :
	public cSimulator<ChunkType, WorldType>
{
	typedef cSimulator<ChunkType, WorldType> super;
	
public:
	cRedstoneSimulator(WorldType & a_World) :
	super(a_World)
	{
	}
	
	virtual cRedstoneSimulatorChunkData * CreateChunkData() = 0;

} ;