first cut at migrating entity animation frame calculations to use AnimationLoop