public class PlayerControl
extends com.almasb.fxgl.ecs.AbstractControl
| Constructor and Description |
|---|
PlayerControl(Texture staticTexture,
Texture animatedTexture) |
| 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 interface com.almasb.fxgl.ecs.ControlonAdded in class com.almasb.fxgl.ecs.AbstractControlpublic void onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf)
public void left()
public void right()
public void jump()
public void stop()
public void shoot(javafx.geometry.Point2D endPoint)
Copyright © 2017. All rights reserved.