Class CampaignStats

java.lang.Object
mindustry.game.CampaignStats

public class CampaignStats extends Object
Statistics for a specific planet's campaign.
  • Field Details

    • enemyUnitsDestroyed

      public arc.struct.ObjectIntMap<UnitType> enemyUnitsDestroyed
      Enemy units destroyed by type.
    • enemyBuildingsDestroyed

      public arc.struct.ObjectIntMap<Block> enemyBuildingsDestroyed
      Record of enemy blocks that have been destroyed (from any source) by count.
    • unitsProduced

      public arc.struct.ObjectIntMap<UnitType> unitsProduced
      Player team units produced by type.
    • unitsDestroyed

      public arc.struct.ObjectIntMap<UnitType> unitsDestroyed
      Player team units destroyed by type.
    • buildingsBuilt

      public arc.struct.ObjectIntMap<Block> buildingsBuilt
      Record of blocks that have been placed by count.
    • buildingsDeconstructed

      public arc.struct.ObjectIntMap<Block> buildingsDeconstructed
      Record of blocks that have been placed by count.
    • buildingsDestroyed

      public arc.struct.ObjectIntMap<Block> buildingsDestroyed
      Record of blocks that have been placed by count.
    • playtime

      public long playtime
      Total campaign playtime in milliseconds.
    • sectorsLost

      public int sectorsLost
      Total game-overs.
    • sectorsCaptured

      public int sectorsCaptured
      Total times a sector has been captured. If you lose (or get invaded) and re-capture something, this still counts.
    • wavesLasted

      public int wavesLasted
      Total waves lasted.
  • Constructor Details

    • CampaignStats

      public CampaignStats()