file: ProjectileComponent.aus

class: ProjectileComponent

[17:7] extends: Component

Wraps FXGL's ProjectileComponent (com.almasb.fxgl.dsl.components.ProjectileComponent), a DSL Component that translates the entity each tick along a Point2D direction at a given speed. Automatically rotates the entity to face the direction of motion (0 degrees assumed to face right).

Methods