public class MyInventoryStaticImpl extends MyInventoryStatic
Modifier and Type | Class and Description |
---|---|
static class |
MyInventoryStaticImpl.MyInventoryStaticUpdate |
Modifier and Type | Field and Description |
---|---|
protected ItemDescriptor |
Descriptor
Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.
|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Unique Id of the item.
|
protected ItemType |
Type
Class of the item (e.g.
|
SimTime
Constructor and Description |
---|
MyInventoryStaticImpl()
Parameter-less contructor for the message.
|
MyInventoryStaticImpl(MyInventory original)
Cloning constructor from the full message.
|
MyInventoryStaticImpl(MyInventoryStatic original)
Cloning constructor from the message part.
|
MyInventoryStaticImpl(MyInventoryStaticImpl original)
Cloning constructor from the full message.
|
MyInventoryStaticImpl(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
ItemType Type,
ItemDescriptor Descriptor)
Creates new instance of the message MyInventory.
|
Modifier and Type | Method and Description |
---|---|
MyInventoryStaticImpl |
clone() |
ItemDescriptor |
getDescriptor()
Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Unique Id of the item.
|
ItemType |
getType()
Class of the item (e.g.
|
boolean |
isDifferentFrom(cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject other) |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected ItemType Type
protected ItemDescriptor Descriptor
public MyInventoryStaticImpl()
public MyInventoryStaticImpl(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, ItemType Type, ItemDescriptor Descriptor)
Id
- Unique Id of the item. This Id represents the item in the inventory.Type
- Class of the item (e.g. xWeapons.FlakCannonPickup).Descriptor
- Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor.public MyInventoryStaticImpl(MyInventory original)
original
- public MyInventoryStaticImpl(MyInventoryStaticImpl original)
original
- public MyInventoryStaticImpl(MyInventoryStatic original)
original
- public void setSimTime(long SimTime)
MyInventoryStatic
setSimTime
in class MyInventoryStatic
public MyInventoryStaticImpl clone()
clone
in class MyInventoryStatic
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
in class MyInventoryStatic
public ItemType getType()
getType
in class MyInventoryStatic
public ItemDescriptor getDescriptor()
getDescriptor
in class MyInventoryStatic
public boolean isDifferentFrom(cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject other)
isDifferentFrom
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject
isDifferentFrom
in class MyInventoryStatic
public String toString()
toString
in class MyInventoryStatic
public String toHtmlString()
toHtmlString
in class MyInventoryStatic
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.