public class GameInfoCompositeImpl extends GameInfo
GameInfo.GameInfoUpdate| Modifier and Type | Field and Description |
|---|---|
protected GameInfoLocalImpl |
partLocal |
protected GameInfoStaticImpl |
partStatic |
GameInfoId, PROTOTYPE, SimTime| Constructor and Description |
|---|
GameInfoCompositeImpl()
Parameter-less contructor for the message.
|
GameInfoCompositeImpl(GameInfoCompositeImpl original)
Cloning constructor.
|
GameInfoCompositeImpl(GameInfoLocalImpl partLocal,
GameInfoSharedImpl partShared,
GameInfoStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
int |
getFragLimit()
Number of kills needed to win game (BotDeathMatch only).
|
String |
getGametype()
What you are playing (BotDeathMatch, BotTeamGame,
BotCTFGame,BotDoubleDomination).
|
long |
getGoalTeamScore()
Number of points a team needs to win the game (BotTeamGame,
BotCTFGame, BotDoubleDomination).
|
UnrealId |
getId() |
String |
getLevel()
Name of map in game.
|
GameInfoLocal |
getLocal() |
int |
getMaxTeams()
Max number of teams.
|
int |
getMaxTeamSize()
Max number of players per side (BotTeamGame, BotCTFGame,
BotDoubleDomination).
|
Location |
getRedBaseLocation()
Location of the base spawning the red flag (team 0) (BotCTFGame).
|
Location |
getSecondDomPointLocation()
Location of the second dom point (BotDoubleDomination).
|
GameInfoShared |
getShared() |
GameInfoStatic |
getStatic() |
double |
getTimeLimit()
Maximum time game will last (if tied at end may goe to
"sudden death overtime" - depends on the game type).
|
boolean |
isBotsPaused()
If the game is paused just for bots - human controlled
players can normally move.
|
boolean |
isGamePaused()
If the game is paused - nobody can move.
|
boolean |
isWeaponStay()
If true respawned weapons will stay on the ground after picked up (but bot cannot pickup same weapon twice).
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getSimTime, toJsonLiteralprotected GameInfoStaticImpl partStatic
protected GameInfoLocalImpl partLocal
public GameInfoCompositeImpl()
public GameInfoCompositeImpl(GameInfoLocalImpl partLocal, GameInfoSharedImpl partShared, GameInfoStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic GameInfoCompositeImpl(GameInfoCompositeImpl original)
original - public UnrealId getId()
getId in interface IWorldObjectgetId in class GameInfopublic void setSimTime(long SimTime)
GameInfosetSimTime in class GameInfopublic GameInfoStatic getStatic()
public GameInfoLocal getLocal()
public GameInfoShared getShared()
public String getGametype()
GameInfogetGametype in class GameInfopublic boolean isWeaponStay()
GameInfoisWeaponStay in class GameInfopublic double getTimeLimit()
GameInfogetTimeLimit in class GameInfopublic int getFragLimit()
GameInfogetFragLimit in class GameInfopublic long getGoalTeamScore()
GameInfogetGoalTeamScore in class GameInfopublic int getMaxTeams()
GameInfogetMaxTeams in class GameInfopublic int getMaxTeamSize()
GameInfogetMaxTeamSize in class GameInfopublic Location getRedBaseLocation()
GameInfogetRedBaseLocation in class GameInfopublic Location getBlueBaseLocation()
GameInfogetBlueBaseLocation in class GameInfopublic Location getFirstDomPointLocation()
GameInfogetFirstDomPointLocation in class GameInfopublic Location getSecondDomPointLocation()
GameInfogetSecondDomPointLocation in class GameInfopublic boolean isGamePaused()
GameInfoisGamePaused in class GameInfopublic boolean isBotsPaused()
GameInfoisBotsPaused in class GameInfopublic Location getFactoryLocation()
GameInfogetFactoryLocation in class GameInfopublic double getFactoryRadius()
GameInfogetFactoryRadius in class GameInfopublic Location getDisperserLocation()
GameInfogetDisperserLocation in class GameInfopublic double getDisperserRadius()
GameInfogetDisperserRadius in class GameInfopublic double getFactoryAdrenalineCount()
GameInfogetFactoryAdrenalineCount in class GameInfopublic String getFactorySpawnType()
GameInfogetFactorySpawnType in class GameInfopublic String toHtmlString()
toHtmlString in class GameInfoCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.