public class PlayerControl
extends com.almasb.fxgl.ecs.Control
| Constructor and Description |
|---|
PlayerControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
down() |
MoveDirection |
getMoveDirection() |
void |
left() |
void |
onAdded(com.almasb.fxgl.ecs.Entity entity) |
void |
onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf) |
void |
right() |
void |
teleport() |
void |
up() |
public MoveDirection getMoveDirection()
public void onAdded(com.almasb.fxgl.ecs.Entity entity)
onAdded in class com.almasb.fxgl.ecs.Modulepublic void onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf)
onUpdate in class com.almasb.fxgl.ecs.Controlpublic void up()
public void down()
public void left()
public void right()
public void teleport()
Copyright © 2017. All rights reserved.