public class PlayerControl
extends com.almasb.fxgl.ecs.Control
| Constructor and Description |
|---|
PlayerControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
down() |
void |
left() |
void |
onAdded(com.almasb.fxgl.ecs.Entity entity) |
void |
onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf) |
void |
right() |
void |
up() |
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()
Copyright © 2017. All rights reserved.