public class FallbackStrategy extends Strategy implements IInitStrategy
controller, gameModel, tokenStart
Constructor and Description |
---|
FallbackStrategy(AIController controller,
de.smarten.tsuro.shared.gamemodel.GameModel gameModel) |
Modifier and Type | Method and Description |
---|---|
de.smarten.tsuro.shared.gamemodel.Placement |
getResultFirstPlacement() |
de.smarten.tsuro.shared.gamemodel.Gate |
getResultToken() |
void |
run() |
void |
update(Observable o,
Object arg) |
clearResults, getFirstPlacement, getResult, getTokenStart, pushResult
public FallbackStrategy(AIController controller, de.smarten.tsuro.shared.gamemodel.GameModel gameModel)
public void update(Observable o, Object arg)
public de.smarten.tsuro.shared.gamemodel.Placement getResultFirstPlacement()
getResultFirstPlacement
in interface IInitStrategy
public de.smarten.tsuro.shared.gamemodel.Gate getResultToken()
getResultToken
in interface IInitStrategy
Copyright © 2017 smarTen. All rights reserved.