Made a player class / fixed a bug in animatedSprite / added something that tracks how long it's been since we last updated