summaryrefslogtreecommitdiffstats
path: root/src/Simulator/NoopFluidSimulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simulator/NoopFluidSimulator.h')
-rw-r--r--src/Simulator/NoopFluidSimulator.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/Simulator/NoopFluidSimulator.h b/src/Simulator/NoopFluidSimulator.h
index 1b963f569..93d5cb50a 100644
--- a/src/Simulator/NoopFluidSimulator.h
+++ b/src/Simulator/NoopFluidSimulator.h
@@ -15,7 +15,7 @@
-class cNoopFluidSimulator:
+class cNoopFluidSimulator final :
public cFluidSimulator
{
using Super = cFluidSimulator;
@@ -26,15 +26,19 @@ public:
private:
- virtual void Simulate(float a_Dt) override { UNUSED(a_Dt);}
+ virtual void SimulateChunk(std::chrono::milliseconds a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) override
+ {
+ UNUSED(a_Dt);
+ UNUSED(a_ChunkX);
+ UNUSED(a_ChunkZ);
+ UNUSED(a_Chunk);
+ }
+
virtual void AddBlock(cChunk & a_Chunk, Vector3i a_Position, BLOCKTYPE a_Block) override
{
UNUSED(a_Block);
UNUSED(a_Chunk);
}
+
virtual cFluidSimulatorData * CreateChunkData(void) override { return nullptr; }
} ;
-
-
-
-