summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-05-28 16:06:57 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-05-28 16:06:57 +0200
commit98cc2a99875d99761308d8270e890faa40adf935 (patch)
treebbc7339b23c881a456982340fdf0c2046175fcbe /src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
parentFixed wooden slabs only burning for 15 ticks. (#3212) (diff)
downloadcuberite-98cc2a99875d99761308d8270e890faa40adf935.tar
cuberite-98cc2a99875d99761308d8270e890faa40adf935.tar.gz
cuberite-98cc2a99875d99761308d8270e890faa40adf935.tar.bz2
cuberite-98cc2a99875d99761308d8270e890faa40adf935.tar.lz
cuberite-98cc2a99875d99761308d8270e890faa40adf935.tar.xz
cuberite-98cc2a99875d99761308d8270e890faa40adf935.tar.zst
cuberite-98cc2a99875d99761308d8270e890faa40adf935.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
index 673d50e49..5145cf7d1 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
@@ -18,6 +18,8 @@ public:
{
}
+ cIncrementalRedstoneSimulator(const cIncrementalRedstoneSimulator & a_Simulator) = delete;
+
virtual void Simulate(float a_dt) override;
virtual void SimulateChunk(std::chrono::milliseconds a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) override {}
@@ -158,7 +160,7 @@ public:
}
cIncrementalRedstoneSimulatorChunkData * GetChunkData() { return &m_Data; }
- static std::unique_ptr<cRedstoneHandler> CreateComponent(cWorld & a_World, BLOCKTYPE a_BlockType, cIncrementalRedstoneSimulatorChunkData * a_Data);
+ static cRedstoneHandler * CreateComponent(cWorld & a_World, BLOCKTYPE a_BlockType, cIncrementalRedstoneSimulatorChunkData * a_Data);
private: