示例#1
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     if (Visible)
     {
         ToggleButton.Draw(spriteBatch);
         ItemMenu.Draw(spriteBatch);
     }
 }
示例#2
0
 public override void Draw(SpriteBatch batch, Vector2 mousePos)
 {
     showGrid.Draw(batch, mousePos);
     clampMouse.Draw(batch, mousePos);
     guidesButton.Draw(batch, mousePos);
     clampVertex.Draw(batch, mousePos);
     mapSett.Draw(batch, mousePos);
     mapPos.Draw(batch, mousePos);
     mapName.Draw(batch, mousePos);
 }