summaryrefslogtreecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-27 19:40:00 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-27 19:40:00 +0200
commitd1814d2d67cdaa4fbcbd10a1af290412c29441af (patch)
treeeb132621bef87b82311f70ead69694c4c88690c9 /src/Simulator/RedstoneSimulator.h
parente.t.c. -> etc. (diff)
parentMerge pull request #1461 from mc-server/RedstoneFix (diff)
downloadcuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar.gz
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar.bz2
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar.lz
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar.xz
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.tar.zst
cuberite-d1814d2d67cdaa4fbcbd10a1af290412c29441af.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/RedstoneSimulator.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h
index b3e20c9a5..f6d36f869 100644
--- a/src/Simulator/RedstoneSimulator.h
+++ b/src/Simulator/RedstoneSimulator.h
@@ -4,14 +4,25 @@
#include "Simulator.h"
+class cRedstoneSimulatorChunkData
+{
+public:
+ virtual ~cRedstoneSimulatorChunkData() = 0;
+} ;
+
+inline cRedstoneSimulatorChunkData::~cRedstoneSimulatorChunkData() {}
+template <class ChunkType, class WorldType>
class cRedstoneSimulator :
- public cSimulator
+ public cSimulator<ChunkType, WorldType>
{
- typedef cSimulator super;
+ typedef cSimulator<ChunkType, WorldType> super;
public:
- cRedstoneSimulator(cWorld & a_World);
+ cRedstoneSimulator(WorldType & a_World) :
+ super(a_World)
+ {
+ }
} ;