summaryrefslogtreecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Simulator/RedstoneSimulator.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h
index b3e20c9a5..56843e37f 100644
--- a/src/Simulator/RedstoneSimulator.h
+++ b/src/Simulator/RedstoneSimulator.h
@@ -5,13 +5,16 @@
-
+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)
+ {
+ }
} ;