file: ProjectileWithAccelerationComponent.aus

class: ProjectileWithAccelerationComponent

[19:7] extends: Component

Wraps FXGL's ProjectileWithAccelerationComponent (com.almasb.fxgl.dsl.components.ProjectileWithAccelerationComponent), a DSL Component that translates the entity each tick along a Point2D direction with an additional acceleration vector applied per tick. Automatically rotates the entity to face the direction of motion. Does not extend FXGL's ProjectileComponent.

Methods