Class GameState

java.lang.Object
com.c1games.terminal.algo.map.GameState

public class GameState
extends java.lang.Object
An object derived from frame data which can be used to compose a move, before eventually sending it into the GameIO object. This object contains a random-access representation of the map state and all its units, which can be used to query for information about the game, including move legality. This object keeps a buffer of unit placements, which will be serialized and sent to the game engine upon making of the move.