Repository navigation
Player Animation Controller
wizzardLord edited this page Sep 2, 2026
·
1 revision
The player animation controller is a component class that controls which animation the player sprite is currently playing.
The player animation controller has two public methods.
-
update()Restarts the movement/idle animation when the attack animation has finished. -
create()Accesses the animator for the entity and stores it in the class. Sets up the listeners for the events that need animations.