public override void Update() { if (sprite.CurrentFrame == 2) { sprite.FreezeFrame(2); } sprite.OriginX += offset.X; sprite.OriginY += offset.Y; }