AnimationTypes implemented; animated player and enemy: animations in object instead of array, play uses object properties instead of hard-code values for frameRate and loop