Core zone tutorial hint

This commit is contained in:
Anuken
2026-01-13 22:50:47 -05:00
parent 6b4643f8e8
commit a6c2718354
5 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -555,7 +555,7 @@ public class EventType{
}
/** Called right before a block is destroyed.
* The tile entity of the tile in this event cannot be null when this happens.*/
* The building of the tile in this event cannot be null when this happens.*/
public static class BlockDestroyEvent{
public final Tile tile;
+10
View File
@@ -19,9 +19,19 @@ public class GameStats{
public int unitsCreated;
/** Record of blocks that have been placed by count. Used for objectives only. */
public ObjectIntMap<Block> placedBlockCount = new ObjectIntMap<>();
/** Record of enemy blocks that have been destroyed (from any source) by count. */
public ObjectIntMap<Block> destroyedBlockCount = new ObjectIntMap<>();
/**
* Record of items that have entered the core through transport blocks. Used for objectives only.
* This can easily be ""spoofed"" with unloaders, so don't use it for anything remotely important.
* */
public ObjectIntMap<Item> coreItemCount = new ObjectIntMap<>();
public int getPlaced(Block block){
return placedBlockCount.get(block, 0);
}
public int getDestroyed(Block block){
return destroyedBlockCount.get(block, 0);
}
}