public class Bumped extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected UnrealId Id
protected Location Location
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()
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()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.