Module com.example.project
Class InfiniteFloatingAnimation
java.lang.Object
com.example.project.controllers.gameScreens.animations.InfiniteFloatingAnimation
Balatro style floating tile animation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(javafx.scene.Node node, double intervalSeconds) apply to node.
-
Constructor Details
-
InfiniteFloatingAnimation
public InfiniteFloatingAnimation()
-
-
Method Details
-
apply
public void apply(javafx.scene.Node node, double intervalSeconds) apply to node.- Parameters:
node
- node.intervalSeconds
- time between changing directions.
-