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, getSimTime
toJsonLiteral
protected 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)
ItemLocal
setSimTime
in class ItemLocal
public ItemLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class ItemLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class ItemLocal
public boolean isVisible()
isVisible
in interface ILocalViewable
isVisible
in class ItemLocal
public ItemLocalImpl getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
public String toHtmlString()
toHtmlString
in class ItemLocal
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.