Files
Mindustry/core/src/mindustry/game/GameStats.java
2022-04-13 15:32:33 -04:00

28 lines
1.0 KiB
Java

package mindustry.game;
import arc.struct.*;
import mindustry.type.*;
import mindustry.world.*;
public class GameStats{
/** Enemy (red team) units destroyed. */
public int enemyUnitsDestroyed;
/** Total waves lasted. */
public int wavesLasted;
/** Friendly buildings fully built. */
public int buildingsBuilt;
/** Friendly buildings fully deconstructed. */
public int buildingsDeconstructed;
/** Friendly buildings destroyed. */
public int buildingsDestroyed;
/** Total units created by any means. */
public int unitsCreated;
/** Record of blocks that have been placed by count. Used for objectives only. */
public ObjectIntMap<Block> placedBlockCount = 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<>();
}