nl.tudelft.goal.ut2004.visualizer.data
Class GameStatusData
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.data.AbstractData
nl.tudelft.goal.ut2004.visualizer.data.GameStatusData
public class GameStatusData
- extends AbstractData
AbstractData
object that keeps track of the objects that refer to the status of the game. More precisely stores the latest GameStatus
and
FlagInfo
objects.
- Author:
- Lennard de Rijk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameStatusData
public GameStatusData()
serverChanged
public void serverChanged(IUT2004Server server)
- Listener for the server.
May be called from another thread.
- Specified by:
serverChanged
in class AbstractData
- Parameters:
server
- the new server or null if the connection was lost.
getGameInfo
public GameInfo getGameInfo()
- Returns:
- The most recent
GameStatus
getFlagInfoCollection
public Collection<FlagInfo> getFlagInfoCollection()
- Returns:
- the flagInfoCollection
getTeamScoreCollection
public Collection<TeamScore> getTeamScoreCollection()
- Returns:
- the teamScoreCollection
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.