Package idlab.colonyops.model


package idlab.colonyops.model
Core data types shared between the ColonyOps game backend and a colony's player-provided logic service.

These types describe the state of a mission (the tactical layer, see Mission, Planet and MissionControl) and are exchanged as JSON over HTTP between the backend and the player's service. Entities that can appear on a planet live in idlab.colonyops.model.entities, the actions a squad member can take live in idlab.colonyops.model.actions, strategic/growth choices live in idlab.colonyops.model.strategy, and tech tree effects live in idlab.colonyops.model.techtree.

  • Class
    Description
    The environmental flavour randomly assigned to a Planet when it is generated.
    Notifies the player's logic service that the colony's orbital scan has discovered a new large resource deposit, via POST /missions/{missionId}/scan-completed.
    The entities present at a single tile within a squad member's vision range, as reported in ActionRequest.locationsInView().
    A tile coordinate on a Planet's grid.
    The state of an active planetary mission, sent to the player's logic service on POST /missions (mission start) and PUT /missions/{missionId} (each new turn).
    The colony's mission-scoped state, sent to the player's logic service as part of every Mission update (e.g.
    The current cooldown state of one unlocked OrbitalCallInCommand.
    The planet a mission takes place on: a 2D raster grid on which squad members, resource deposits and hostile organisms are placed.