Uses of Class
com.iwolverton.smartbeetle.GameState
-
Packages that use GameState Package Description com.iwolverton.smartbeetle com.iwolverton.smartbeetle.internal -
-
Uses of GameState in com.iwolverton.smartbeetle
Methods in com.iwolverton.smartbeetle with parameters of type GameState Modifier and Type Method Description default voidBeetleAi. init(GameState state, Settings settings)Optionally implement this method.ActionBeetleAi. turn(GameState state)You must implement this method.Constructors in com.iwolverton.smartbeetle with parameters of type GameState Constructor Description GameState(GameState from)GameState(GameState from, Beetle beetle)GameState(GameState from, Beetle beetle, List<Ant> ants) -
Uses of GameState in com.iwolverton.smartbeetle.internal
Subclasses of GameState in com.iwolverton.smartbeetle.internal Modifier and Type Class Description classGameStateBuilderMethods in com.iwolverton.smartbeetle.internal that return GameState Modifier and Type Method Description GameStateGameRules. applyAction(GameState state, Action action)GameStateGameRules. applyRules(GameState state)GameStateGameStateBuilder. build()GameStateGameRules. doTurn(GameState state, Action action)GameStateGameStateFactory. getRandomState()static GameStateGameStateFactory. getTestState1()Methods in com.iwolverton.smartbeetle.internal with parameters of type GameState Modifier and Type Method Description GameStateGameRules. applyAction(GameState state, Action action)GameStateGameRules. applyRules(GameState state)StringGameRules. determineCauseOfDeath(GameState state)GameStateGameRules. doTurn(GameState state, Action action)booleanGameRules. isGameOver(GameState state)voidGameFieldPanel. setGameState(GameState state, boolean gameOver)Constructors in com.iwolverton.smartbeetle.internal with parameters of type GameState Constructor Description GameStateBuilder(GameState from)
-