Open AlmasB opened 3 years ago
To go to fxgl module under dsl.components. The component moves the entity using provided Point2D waypoints.
fxgl
dsl.components
Existing move-related components can be studied: https://github.com/AlmasB/FXGL/tree/dev/fxgl/src/main/kotlin/com/almasb/fxgl/dsl/components
Please provide API design first, before implementation.
To complete, we should also add an option that rotates the entity along the movement vector.
To go to
fxgl
module underdsl.components
. The component moves the entity using provided Point2D waypoints.Existing move-related components can be studied: https://github.com/AlmasB/FXGL/tree/dev/fxgl/src/main/kotlin/com/almasb/fxgl/dsl/components
Please provide API design first, before implementation.