nl.tudelft.goal.ut2004.visualizer.data
Class GameData

Package class diagram package GameData
java.lang.Object
  extended by nl.tudelft.goal.ut2004.visualizer.data.AbstractData
      extended by 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

Constructor Summary
GameData()
           
 
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 nl.tudelft.goal.ut2004.visualizer.data.AbstractData
notifyListeners, subscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameData

public GameData()
Method Detail

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.