public class ItemLocalImpl extends ItemLocal
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemLocalImpl.ItemLocalUpdate |
ItemLocal.ObjectDisappeared| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Unique Id of the item.
|
protected boolean |
Visible
If the item is in the field of view of the bot.
|
| Constructor and Description |
|---|
ItemLocalImpl()
Parameter-less contructor for the message.
|
ItemLocalImpl(Item original)
Cloning constructor from the full message.
|
ItemLocalImpl(ItemLocal original)
Cloning constructor from the message part.
|
ItemLocalImpl(ItemLocalImpl original)
Cloning constructor from the full message.
|
ItemLocalImpl(UnrealId Id,
boolean Visible)
Creates new instance of the message Item.
|
| Modifier and Type | Method and Description |
|---|---|
ItemLocalImpl |
clone() |
UnrealId |
getId()
Unique Id of the item.
|
ItemLocalImpl |
getLocal() |
ISharedWorldObject |
getShared() |
IStaticWorldObject |
getStatic() |
boolean |
isVisible()
If the item is in the field of view of the bot.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getCompositeClass, getSimTimetoJsonLiteralprotected UnrealId Id
protected boolean Visible
public ItemLocalImpl()
public ItemLocalImpl(UnrealId Id, boolean Visible)
Id - Unique Id of the item. This Id represents just item on the
map, not in our inventory.Visible - If the item is in the field of view of the bot.public ItemLocalImpl(Item original)
original - public ItemLocalImpl(ItemLocalImpl original)
original - public ItemLocalImpl(ItemLocal original)
original - public void setSimTime(long SimTime)
ItemLocalsetSimTime in class ItemLocalpublic ItemLocalImpl clone()
clone in interface ILocalWorldObjectclone in class ItemLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class ItemLocalpublic boolean isVisible()
isVisible in interface ILocalViewableisVisible in class ItemLocalpublic ItemLocalImpl getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
public String toHtmlString()
toHtmlString in class ItemLocalCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.