Esempio n. 1
0
 public override void Draw()
 {
     _servingArea.Draw();
     _sideBar.Draw();
     _btmBar.Draw();
     _giveUpButton.Draw();
 }
 public override void Draw()
 {
     _servingArea.Draw();
     _sideBar.Draw();
     _btmBar.Draw();
     _giveUpButton.Draw();
     SwinGame.DrawText("Medium", Color.Black, "Arial", 15, 370, 10);
     SwinGame.DrawText("Difficult", Color.Black, "Arial", 15, 440, 50);
     //draw the part of full bar based on the time passed.
     _statusBar.Draw((int)_ticks, 365, 32);
 }