cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class PlayerMessage.PlayerStaticMessage

Package class diagram package PlayerMessage.PlayerStaticMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerMessage.PlayerStaticMessage
All Implemented Interfaces:
IWorldObject, IStaticWorldObject
Enclosing class:
PlayerMessage

public class PlayerMessage.PlayerStaticMessage
extends PlayerStatic

Implementation of the static part of the GameBots2004 message PLR, used to facade PLRMessage.

Complete message documentation: Synchronous message. Contains information about other players in the game, like their current velocity, position, weapon and reachability. Only reports those players that are visible. (within field of view and not occluded).


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic
SimTime
 
Constructor Summary
PlayerMessage.PlayerStaticMessage()
           
 
Method Summary
 PlayerMessage.PlayerStaticMessage clone()
           
 UnrealId getId()
          Unique Id of the player.
 boolean isDifferentFrom(IStaticWorldObject other)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic
getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayerMessage.PlayerStaticMessage

public PlayerMessage.PlayerStaticMessage()
Method Detail

clone

public PlayerMessage.PlayerStaticMessage clone()
Specified by:
clone in class PlayerStatic

getId

public UnrealId getId()
Unique Id of the player.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class PlayerStatic

isDifferentFrom

public boolean isDifferentFrom(IStaticWorldObject other)
Specified by:
isDifferentFrom in interface IStaticWorldObject
Overrides:
isDifferentFrom in class PlayerStatic

toString

public String toString()
Overrides:
toString in class PlayerStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class PlayerStatic


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.