public AnimatedSprite(float x, float y, int time, bool isUpdate, params TextureRegion[] regions) : base(x, y) { this.regions = regions; if (isUpdate) updates = new List<IUpdateHandler>(); countLoop = UNLIMITED; animation = new Animator(time, regions.Length); }
//================================================================ //Constructors //================================================================ public AnimatedImage(Vector2 position, int time, TextureRegion[] regions) : base(position) { this.regions = regions; animation = new Animator(time, regions.Length); }