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.
-
ClassDescriptionThe environmental flavour randomly assigned to a
Planetwhen it is generated.Notifies the player's logic service that the colony's orbital scan has discovered a new large resource deposit, viaPOST /missions/{missionId}/scan-completed.The entities present at a single tile within a squad member's vision range, as reported inActionRequest.locationsInView().A tile coordinate on aPlanet's grid.The state of an active planetary mission, sent to the player's logic service onPOST /missions(mission start) andPUT /missions/{missionId}(each new turn).The colony's mission-scoped state, sent to the player's logic service as part of everyMissionupdate (e.g.The current cooldown state of one unlockedOrbitalCallInCommand.The planet a mission takes place on: a 2D raster grid on which squad members, resource deposits and hostile organisms are placed.