using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Otter; using _1869_Remake; namespace _1869_Remake.Entities { public class AnimatingEntity : Entity { enum Animation { BackGround } Spritemap spritemap = new Spritemap(Assets.SPRITESHEET_MEER, 640, 480); public AnimatingEntity(float x, float y) : base(x, y) { spritemap.Add(Animation.BackGround, "0,1,2,3,4,5,6,7,8,9,10,11", 8); spritemap.Play(Animation.BackGround); AddGraphic(spritemap); } } }