diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-09-11 18:48:21 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-09-11 18:48:21 +0200 |
commit | 0b044e1c83a62c266afaf0852ccbd5e7b01cec5e (patch) | |
tree | d847314a2ee95b1a766dbb57a06b5ea7e42e687c /src/Simulator/RedstoneSimulator.h | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar.gz cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar.bz2 cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar.lz cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar.xz cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.tar.zst cuberite-0b044e1c83a62c266afaf0852ccbd5e7b01cec5e.zip |
Diffstat (limited to 'src/Simulator/RedstoneSimulator.h')
-rw-r--r-- | src/Simulator/RedstoneSimulator.h | 11 |
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) + { + } } ; |