public virtual void Update(GameTime gameTime, BaseLevel level) { Animation currentAnimation = getCurrentAnimation(); currentAnimation.Update(gameTime); _movement.Update(this, gameTime, level); _collisionRectangle.X = (int)_movement.Position.X; _collisionRectangle.Y = (int)_movement.Position.Y; if (Health < 1 && CanChangeAnimation()) { level.AddToRemove(this); } }