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