nl.tudelft.goal.ut2004.visualizer.data
Class GameData
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.data.AbstractData
nl.tudelft.goal.ut2004.visualizer.data.GameData
public class GameData
- extends AbstractData
Class that keeps track of the players that are currently in the server.
- Author:
- Lennard de Rijk, M.P. Korstanje
Method Summary |
cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MapList> |
getAvailableMaps()
|
cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> |
getPlayers()
|
cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint> |
getWaypoints()
|
void |
serverChanged(cz.cuni.amis.pogamut.ut2004.server.IUT2004Server server)
Called when ever the server is updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameData
public GameData()
serverChanged
public void serverChanged(cz.cuni.amis.pogamut.ut2004.server.IUT2004Server server)
- Description copied from class:
AbstractData
- Called when ever the server is updated.
- Specified by:
serverChanged
in class AbstractData
- Parameters:
server
- the new server or null if the connection was lost.
getAvailableMaps
public cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MapList> getAvailableMaps()
getPlayers
public cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player> getPlayers()
getWaypoints
public cz.cuni.amis.utils.collections.ObservableCollection<cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint> getWaypoints()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.