diff options
Diffstat (limited to 'src/Simulator/VanillaFluidSimulator.h')
-rw-r--r-- | src/Simulator/VanillaFluidSimulator.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Simulator/VanillaFluidSimulator.h b/src/Simulator/VanillaFluidSimulator.h index 96ce8dc70..c5365c57f 100644 --- a/src/Simulator/VanillaFluidSimulator.h +++ b/src/Simulator/VanillaFluidSimulator.h @@ -13,13 +13,11 @@ -class cVanillaFluidSimulator: - public cFloodyFluidSimulator +class cVanillaFluidSimulator : public cFloodyFluidSimulator { using Super = cFloodyFluidSimulator; -public: - + public: cVanillaFluidSimulator( cWorld & a_World, BLOCKTYPE a_Fluid, @@ -29,15 +27,17 @@ public: int a_NumNeighborsForSource ); -protected: + protected: // cFloodyFluidSimulator overrides: virtual void SpreadXZ(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_NewMeta) override; /** Recursively calculates the minimum number of blocks needed to descend a level. */ - int CalculateFlowCost(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, Direction a_Dir, unsigned a_Iteration = 0); - -} ; - - - - + int CalculateFlowCost( + cChunk * a_Chunk, + int a_RelX, + int a_RelY, + int a_RelZ, + Direction a_Dir, + unsigned a_Iteration = 0 + ); +}; |