Functionality (sorta) for spritely animation