|
||||||||||
| 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 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 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(UnrealId Id,
Location Location)
Creates new instance of command Bumped. |
|
| Method Summary | |
|---|---|
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). |
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 UnrealId Id
protected Location Location
| Constructor Detail |
|---|
public Bumped(UnrealId Id,
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 UnrealId getId()
public Location getLocation()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||