public class HeatMap extends Object
Modifier and Type | Method and Description |
---|---|
static HeatMap |
calculateHeatMap(de.smarten.tsuro.shared.gamemodel.GameModel gameModel,
Collection<de.smarten.tsuro.shared.gamemodel.Tile> handTiles,
de.smarten.tsuro.shared.gamemodel.Token startTokenPos)
calculates a heat map that shows where the other players might head in the next turn.
|
static HeatMap |
calculateHeatMap(de.smarten.tsuro.shared.gamemodel.GameModel gameModel,
int playerId)
calculates a heat map that shows where the other players might head in the next turn.
|
static int |
getCombinedHeat(HeatMap hMap) |
static int |
getTemperature(HeatMap hMap,
int xPos,
int yPos) |
static boolean |
hasPossibleTurns(HeatMap hMap) |
public static HeatMap calculateHeatMap(de.smarten.tsuro.shared.gamemodel.GameModel gameModel, int playerId)
public static HeatMap calculateHeatMap(de.smarten.tsuro.shared.gamemodel.GameModel gameModel, Collection<de.smarten.tsuro.shared.gamemodel.Tile> handTiles, de.smarten.tsuro.shared.gamemodel.Token startTokenPos)
public static int getTemperature(HeatMap hMap, int xPos, int yPos)
public static boolean hasPossibleTurns(HeatMap hMap)
public static int getCombinedHeat(HeatMap hMap)
Copyright © 2017 smarTen. All rights reserved.