widgets/step_animator library
Classes
- AnimatedLudoPiece
-
An animated version of a Ludo piece that bounces as it moves.
Wrap your existing piece positioning in this and drive it by
updating
currentPositioneach step. - PieceStepAnimator
-
Drives a single piece through its path one cell at a time, firing
onStepCompleteafter every cell so the controller can update LudoGameState and the board repaints at the right intermediate position.