public class ItemSharedImpl extends ItemShared
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemSharedImpl.ItemSharedUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Unique Id of the item.
|
protected BooleanProperty |
myDropped
Whether it is regular item or one dropped by some bot (usually during dying).
|
protected LocationProperty |
myLocation
Location of the item.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
DroppedPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime| Constructor and Description |
|---|
ItemSharedImpl(ItemSharedImpl source) |
ItemSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
| Modifier and Type | Method and Description |
|---|---|
ItemSharedImpl |
clone() |
UnrealId |
getId()
Unique Id of the item.
|
Location |
getLocation()
Location of the item.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
boolean |
isDropped()
Whether it is regular item or one dropped by some bot (usually during dying).
|
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 LocationProperty myLocation
protected BooleanProperty myDropped
public ItemSharedImpl(ItemSharedImpl source)
public ItemSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
ItemSharedsetSimTime in class ItemSharedpublic ItemSharedImpl clone()
clone in interface ISharedWorldObjectclone in class ItemSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class ItemSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class ItemSharedpublic boolean isDropped()
isDropped in class ItemSharedpublic String toString()
toString in class ItemSharedpublic String toHtmlString()
toHtmlString in class ItemSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.