blob: 6104d39b452338c0da28cac0014110b5ca70b533 (
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
27
28
29
30
|
#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;
} ;
|