windows platformer with rewritten animation class