1
0
Fork 0

Minor style fixes

This commit is contained in:
Tiger Wang 2020-08-28 21:42:37 +01:00
parent c1ffed60ec
commit 5d736b653f
3 changed files with 13 additions and 1 deletions

View File

@ -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;

View File

@ -3,6 +3,10 @@
#include "RedstoneSimulatorChunkData.h"
class ForEachSourceCallback
{
public:

View File

@ -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.