summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChunkStay.h2
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/ForEachSourceCallback.h4
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneHandler.h8
3 files changed, 13 insertions, 1 deletions
diff --git a/src/ChunkStay.h b/src/ChunkStay.h
index a7c038a9c..59b6841a4 100644
--- a/src/ChunkStay.h
+++ b/src/ChunkStay.h
@@ -65,7 +65,7 @@ public:
/** Called when a specific chunk become available. */
virtual void OnChunkAvailable(int a_ChunkX, int a_ChunkZ) = 0;
- /** Caled once all of the contained chunks are available.
+ /** Called once all of the contained chunks are available.
If returns true, the ChunkStay is automatically disabled by the ChunkMap; if it returns false, the ChunkStay is kept. */
virtual bool OnAllChunksAvailable(void) = 0;
diff --git a/src/Simulator/IncrementalRedstoneSimulator/ForEachSourceCallback.h b/src/Simulator/IncrementalRedstoneSimulator/ForEachSourceCallback.h
index 657638254..6d49291cb 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/ForEachSourceCallback.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/ForEachSourceCallback.h
@@ -3,6 +3,10 @@
#include "RedstoneSimulatorChunkData.h"
+
+
+
+
class ForEachSourceCallback
{
public:
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneHandler.h
index 25c646df3..fdac7901f 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneHandler.h
@@ -3,9 +3,17 @@
#include "RedstoneSimulatorChunkData.h"
+
+
+
+
class cChunk;
class ForEachSourceCallback;
+
+
+
+
namespace RedstoneHandler
{
/** Asks a redstone component at the source position how much power it will deliver to the querying position.