summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-07-01 21:51:18 +0200
committerMattes D <github@xoft.cz>2016-07-01 23:23:22 +0200
commit2b78fd6227b315dd2966a3143279313b4e350c2d (patch)
tree1b3fb136ca25e9f2a01af71fe254a4b3656d81a6 /src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
parentMerge pull request #3244 from cuberite/minecart_chest (diff)
downloadcuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar.gz
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar.bz2
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar.lz
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar.xz
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.tar.zst
cuberite-2b78fd6227b315dd2966a3143279313b4e350c2d.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
index 5145cf7d1..673d50e49 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.h
@@ -18,8 +18,6 @@ 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 {}
@@ -160,7 +158,7 @@ public:
}
cIncrementalRedstoneSimulatorChunkData * GetChunkData() { return &m_Data; }
- static cRedstoneHandler * CreateComponent(cWorld & a_World, BLOCKTYPE a_BlockType, cIncrementalRedstoneSimulatorChunkData * a_Data);
+ static std::unique_ptr<cRedstoneHandler> CreateComponent(cWorld & a_World, BLOCKTYPE a_BlockType, cIncrementalRedstoneSimulatorChunkData * a_Data);
private: