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, getSimTime
toJsonLiteral
protected 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)
TeamScoreShared
setSimTime
in class TeamScoreShared
public TeamScoreSharedImpl clone()
clone
in interface ISharedWorldObject
clone
in class TeamScoreShared
public ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class TeamScoreShared
public Integer getTeam()
getTeam
in class TeamScoreShared
public Integer getScore()
getScore
in class TeamScoreShared
public String toString()
toString
in class TeamScoreShared
public String toHtmlString()
toHtmlString
in class TeamScoreShared
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.