cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class GameInfoLocalImpl

Package class diagram package GameInfoLocalImpl
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoLocalImpl
All Implemented Interfaces:
IWorldObject, ILocalWorldObject, Cloneable

public class GameInfoLocalImpl
extends GameInfoLocal

Implementation of the local part of the GameBots2004 message NFO.

Complete message documentation: Asynchronous message. Sent as response to READY command. Information about the game. What type of game is it going to be, number of teams, maximum size of teams etc.


Nested Class Summary
static class GameInfoLocalImpl.GameInfoLocalUpdate
           
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoLocal
GameInfoId, SimTime
 
Constructor Summary
GameInfoLocalImpl()
          Parameter-less contructor for the message.
GameInfoLocalImpl(GameInfo original)
          Cloning constructor from the full message.
GameInfoLocalImpl(GameInfoLocal original)
          Cloning constructor from the message part.
GameInfoLocalImpl(GameInfoLocalImpl original)
          Cloning constructor from the full message.
 
Method Summary
 GameInfoLocalImpl clone()
           
 UnrealId getId()
           
 GameInfoLocalImpl getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 void setSimTime(long SimTime)
          Used by Yylex to slip correct time of the object or programmatically.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoLocal
getCompositeClass, getSimTime
 
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

GameInfoLocalImpl

public GameInfoLocalImpl()
Parameter-less contructor for the message.


GameInfoLocalImpl

public GameInfoLocalImpl(GameInfo original)
Cloning constructor from the full message.

Parameters:
original -

GameInfoLocalImpl

public GameInfoLocalImpl(GameInfoLocalImpl original)
Cloning constructor from the full message.

Parameters:
original -

GameInfoLocalImpl

public GameInfoLocalImpl(GameInfoLocal original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

getId

public UnrealId getId()
Specified by:
getId in interface IWorldObject
Overrides:
getId in class GameInfoLocal

setSimTime

public void setSimTime(long SimTime)
Description copied from class: GameInfoLocal
Used by Yylex to slip correct time of the object or programmatically.

Overrides:
setSimTime in class GameInfoLocal

clone

public GameInfoLocalImpl clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class GameInfoLocal

getLocal

public GameInfoLocalImpl getLocal()
Overrides:
getLocal in class GameInfoLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class GameInfoLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class GameInfoLocal

toString

public String toString()
Overrides:
toString in class GameInfoLocal

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class GameInfoLocal


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