|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoStatic
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoStaticImpl
public class GameInfoStaticImpl
Implementation of the static 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 |
GameInfoStaticImpl.GameInfoStaticUpdate
|
| Field Summary | |
|---|---|
protected Location |
BlueBaseLocation
Location of the base spawning the blue flag (team 1) (BotCTFGame). |
protected Location |
DisperserLocation
Sent only in BotScenario game type. |
protected double |
DisperserRadius
Sent only in BotScenario game type. |
protected double |
FactoryAdrenalineCount
Sent only in BotScenario game type. |
protected Location |
FactoryLocation
Sent only in BotScenario game type. |
protected double |
FactoryRadius
Sent only in BotScenario game type. |
protected String |
FactorySpawnType
Sent only in BotScenario game type. |
protected Location |
FirstDomPointLocation
Location of the first dom point (BotDoubleDomination). |
protected String |
Gametype
What you are playing (BotDeathMatch, BotTeamGame, BotCTFGame,BotDoubleDomination). |
protected String |
Level
Name of map in game. |
protected int |
MaxTeams
Max number of teams. |
protected Location |
RedBaseLocation
Location of the base spawning the red flag (team 0) (BotCTFGame). |
protected Location |
SecondDomPointLocation
Location of the second dom point (BotDoubleDomination). |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfoStatic |
|---|
GameInfoId, SimTime |
| Constructor Summary | |
|---|---|
GameInfoStaticImpl()
Parameter-less contructor for the message. |
|
GameInfoStaticImpl(GameInfo original)
Cloning constructor from the full message. |
|
GameInfoStaticImpl(GameInfoStatic original)
Cloning constructor from the message part. |
|
GameInfoStaticImpl(GameInfoStaticImpl original)
Cloning constructor from the full message. |
|
| Method Summary | |
|---|---|
GameInfoStaticImpl |
clone()
|
Location |
getBlueBaseLocation()
Location of the base spawning the blue flag (team 1) (BotCTFGame). |
Location |
getDisperserLocation()
Sent only in BotScenario game type. |
double |
getDisperserRadius()
Sent only in BotScenario game type. |
double |
getFactoryAdrenalineCount()
Sent only in BotScenario game type. |
Location |
getFactoryLocation()
Sent only in BotScenario game type. |
double |
getFactoryRadius()
Sent only in BotScenario game type. |
String |
getFactorySpawnType()
Sent only in BotScenario game type. |
Location |
getFirstDomPointLocation()
Location of the first dom point (BotDoubleDomination). |
String |
getGametype()
What you are playing (BotDeathMatch, BotTeamGame, BotCTFGame,BotDoubleDomination). |
UnrealId |
getId()
|
String |
getLevel()
Name of map in game. |
int |
getMaxTeams()
Max number of teams. |
Location |
getRedBaseLocation()
Location of the base spawning the red flag (team 0) (BotCTFGame). |
Location |
getSecondDomPointLocation()
Location of the second dom point (BotDoubleDomination). |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
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.GameInfoStatic |
|---|
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 |
| Field Detail |
|---|
protected String Gametype
protected String Level
protected int MaxTeams
protected Location RedBaseLocation
protected Location BlueBaseLocation
protected Location FirstDomPointLocation
protected Location SecondDomPointLocation
protected Location FactoryLocation
protected double FactoryRadius
protected Location DisperserLocation
protected double DisperserRadius
protected double FactoryAdrenalineCount
protected String FactorySpawnType
| Constructor Detail |
|---|
public GameInfoStaticImpl()
public GameInfoStaticImpl(GameInfo original)
original - public GameInfoStaticImpl(GameInfoStaticImpl original)
original - public GameInfoStaticImpl(GameInfoStatic original)
original - | Method Detail |
|---|
public UnrealId getId()
getId in interface IWorldObjectgetId in class GameInfoStaticpublic void setSimTime(long SimTime)
GameInfoStatic
setSimTime in class GameInfoStaticpublic GameInfoStaticImpl clone()
clone in class GameInfoStaticpublic String getGametype()
getGametype in class GameInfoStaticpublic String getLevel()
getLevel in class GameInfoStaticpublic int getMaxTeams()
getMaxTeams in class GameInfoStaticpublic Location getRedBaseLocation()
getRedBaseLocation in class GameInfoStaticpublic Location getBlueBaseLocation()
getBlueBaseLocation in class GameInfoStaticpublic Location getFirstDomPointLocation()
getFirstDomPointLocation in class GameInfoStaticpublic Location getSecondDomPointLocation()
getSecondDomPointLocation in class GameInfoStaticpublic Location getFactoryLocation()
getFactoryLocation in class GameInfoStaticpublic double getFactoryRadius()
getFactoryRadius in class GameInfoStaticpublic Location getDisperserLocation()
getDisperserLocation in class GameInfoStaticpublic double getDisperserRadius()
getDisperserRadius in class GameInfoStaticpublic double getFactoryAdrenalineCount()
getFactoryAdrenalineCount in class GameInfoStaticpublic String getFactorySpawnType()
getFactorySpawnType in class GameInfoStaticpublic boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom in interface IStaticWorldObjectisDifferentFrom in class GameInfoStaticpublic String toString()
toString in class GameInfoStaticpublic String toHtmlString()
toHtmlString in class GameInfoStatic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||