ReactorGame

ostrat.pReactor.ReactorGame
case class ReactorGame(aRows: Int, aCols: Int, aPlayers: Array[Colour])

A clone of the classic Atoms game

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addBallByIndex(cellIndex: Int): Unit
def doThePop(thisCell: Int): Unit
def isReadyToPop(thisCell: Int): Boolean
def newTurn(thisPlayer: Colour, thisCell: Int): Unit
def primePopQueue(thisCell: Int): Unit
def setGameState(newState: String): Unit
def startGame(aGameState: String, aTurn: Int, aPlayers: Array[Colour], aCurrentPlayer: Colour, aCellCounts: Array[Int], aCellColors: Array[Colour]): Unit

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product