|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.udk.communication.messages.GBEvent
cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.Bumped
public class Bumped
Asynchronous message. Bot bumped into another actor. Corresponding GameBots message is BMP.
| Field Summary | |
|---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Unique Id of the actor we have bumped to (actors include other players or bots and other physical objects that can block your path). |
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
Location
Location of thing you've rammed into. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
Bumped()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
Bumped(Bumped original)
Cloning constructor. |
|
Bumped(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
Creates new instance of command Bumped. |
|
| Method Summary | |
|---|---|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Unique Id of the actor we have bumped to (actors include other players or bots and other physical objects that can block your path). |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getLocation()
Location of thing you've rammed into. |
long |
getSimTime()
|
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.udk.communication.messages.GBEvent |
|---|
getWorldEvent |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
|---|
toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOTYPE
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location Location
| Constructor Detail |
|---|
public Bumped(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
Id - Unique Id of the actor we have bumped to (actors include
other players or bots and other physical objects that can
block your path).Location - Location of thing you've rammed into.public Bumped(Bumped original)
public Bumped()
| Method Detail |
|---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
public long getSimTime()
getSimTime in interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEventgetSimTime in interface cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.InfoMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||