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