I currently have a player with a couple of states and I want to control what animation plays for what state. Unfortunately, all the animations are in separate files.
How would I go about changing the texture atlas for this,,,
The two images below showcase how i'm setting the animation and how i'm doing state checking for the player.