cz.cuni.pogamut.MessageObjects
Class GameInfo

java.lang.Object
  extended by cz.cuni.pogamut.MessageObjects.MessageObject
      extended by cz.cuni.pogamut.MessageObjects.GameInfo
All Implemented Interfaces:
Visible, java.io.Serializable, java.lang.Cloneable

public class GameInfo
extends MessageObject
implements java.io.Serializable

Information about starting game. What type of game is it going to be, number of teams maximum size of teams ect.

See Also:
Serialized Form

Field Summary
 boolean botsPaused
          Are paused only bots or everything
 int fragLimit
          FragLimit - number of kills needed to win game (BotDeathMatchPlus only)
 boolean gamePaused
          is game paused
 double gameSpeed
          speed of game
 java.lang.String gameType
          Gametype - What you are playing (BotDeathMatchPlus, BotTeamGame, BotDomination, BotCTFGame)
 double goalTeamScore
          GoalTeamScore - number of points a team needs to win game (BotTeamGame,BotDomination)
 java.lang.String level
          Level - name of map in play
 int maxTeams
          MaxTeams - max number of teams. valid team range will be 0 to (MaxTeams - 1)(BotTeamGame, BotDomination)
 int maxTeamSize
          MaxTeamSize - Max number of players per side (BotTeamGame, BotDomination)
 int remainingTime
          TODO: dont know what this does
 double timeLimit
          TimeLimit - maximum time game will last (if tied at end, goes into sudden death overtime)
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
GameInfo()
           
GameInfo(int ID, java.lang.String UnrealID)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
clone, diff, equals, getID, getType, getUnrealID, getVisibility, hasID, isVisible, setID, setType, setUnrealID, setVisible, update
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gameType

public java.lang.String gameType
Gametype - What you are playing (BotDeathMatchPlus, BotTeamGame, BotDomination, BotCTFGame)


level

public java.lang.String level
Level - name of map in play


timeLimit

public double timeLimit
TimeLimit - maximum time game will last (if tied at end, goes into sudden death overtime)


fragLimit

public int fragLimit
FragLimit - number of kills needed to win game (BotDeathMatchPlus only)


goalTeamScore

public double goalTeamScore
GoalTeamScore - number of points a team needs to win game (BotTeamGame,BotDomination)


maxTeams

public int maxTeams
MaxTeams - max number of teams. valid team range will be 0 to (MaxTeams - 1)(BotTeamGame, BotDomination)


maxTeamSize

public int maxTeamSize
MaxTeamSize - Max number of players per side (BotTeamGame, BotDomination)


remainingTime

public int remainingTime
TODO: dont know what this does


gamePaused

public boolean gamePaused
is game paused


botsPaused

public boolean botsPaused
Are paused only bots or everything


gameSpeed

public double gameSpeed
speed of game

Constructor Detail

GameInfo

public GameInfo(int ID,
                java.lang.String UnrealID)

GameInfo

public GameInfo()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class MessageObject