public class UActionWalk extends UAction
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
id |
| Constructor | Description |
|---|---|
UActionWalk(UActor theactor,
int xd,
int yd) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doMe() |
|
float |
timeCost() |
The time this action takes to execute, in action time units.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowedForActor, doNow, shouldBroadcastEvent, suppressEventpublic UActionWalk(UActor theactor, int xd, int yd)
theactor - xd - X direction to walk (-1, 0, 1)yd - Y direction to walk (-1, 0, 1)