public class TeamScoreSharedImpl extends TeamScoreShared
| Modifier and Type | Class and Description |
|---|---|
static class |
TeamScoreSharedImpl.TeamScoreSharedUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Message identifier.
|
protected IntegerProperty |
myScore
The score of the team (can be some special measurement that
differs from game type to game type - number of stolen flags
in CTF game, number of team frags in TeamGame, etc.)
|
protected IntegerProperty |
myTeam
Team identifier.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
ScorePropertyToken, SharedPropertyTokens, SimTime, TeamPropertyToken| Constructor and Description |
|---|
TeamScoreSharedImpl(TeamScoreSharedImpl source) |
TeamScoreSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
| Modifier and Type | Method and Description |
|---|---|
TeamScoreSharedImpl |
clone() |
UnrealId |
getId()
Message identifier.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
Integer |
getScore()
The score of the team (can be some special measurement that
differs from game type to game type - number of stolen flags
in CTF game, number of team frags in TeamGame, etc.)
|
Integer |
getTeam()
Team identifier.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTimetoJsonLiteralprotected HashMap<PropertyId,ISharedProperty> propertyMap
protected UnrealId Id
protected IntegerProperty myTeam
protected IntegerProperty myScore
public TeamScoreSharedImpl(TeamScoreSharedImpl source)
public TeamScoreSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
TeamScoreSharedsetSimTime in class TeamScoreSharedpublic TeamScoreSharedImpl clone()
clone in interface ISharedWorldObjectclone in class TeamScoreSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class TeamScoreSharedpublic Integer getTeam()
getTeam in class TeamScoreSharedpublic Integer getScore()
getScore in class TeamScoreSharedpublic String toString()
toString in class TeamScoreSharedpublic String toHtmlString()
toHtmlString in class TeamScoreSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.