G2SGame

ostrat.gTwo.s2p.G2SGame
See theG2SGame companion object
class G2SGame(scenIn: G2SqScen, val guiCounters: RArr[Counter])

Simple game manager for G2SqScen. Contains the scenario and the set of Counters controlled by the single GUI player.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Resolves turn. Takes in the directives from the single GUI player and sets the valid directives as intentions. The command is passed in as a relative move. This is in accordance with the principle in more complex games that the entity issuing the command may not know its real location.

Resolves turn. Takes in the directives from the single GUI player and sets the valid directives as intentions. The command is passed in as a relative move. This is in accordance with the principle in more complex games that the entity issuing the command may not know its real location.

Attributes

Restricts intentions to the counters controled by the player.

Restricts intentions to the counters controled by the player.

Attributes

Concrete fields

Implicits

Implicits

implicit val gridSys: SqGridSys