PGCGame.Ship.UpdateWcPos C# (CSharp) Method

UpdateWcPos() protected method

protected UpdateWcPos ( ) : void
return void
        protected void UpdateWcPos()
        {
            _wcRect = new Rectangle((WorldCoords.X - Origin.X * Scale.X).ToInt(), (WorldCoords.Y - Origin.Y * Scale.Y).ToInt(), Width.ToInt(), Height.ToInt());
            _healthBar.Position = new Vector2(X - (_healthBar.Width / 2), Y - (Height / 1.5f));
            if (WCMoved != null)
            {
                WCMoved(this, EventArgs.Empty);
            }
            /*
            if (++WCMoveCt >= 750 && this is BaseAllyShip && (this as BaseAllyShip).IsPlayerShip)
            {
                System.Diagnostics.Debugger.Break();
            }
            */
        }