Exemplo n.º 1
0
 private void initializeButtons()
 {
     jump  = new GameButton(0, 285, 65, 65);
     shoot = new GameButton(0, 350, 65, 65);
     duck  = new GameButton(0, 415, 65, 65);
     pause = new GameButton(0, 0, 35, 35);
 }
Exemplo n.º 2
0
 private void initializeButtons()
 {
     jump = new GameButton (0, 285, 65, 65);
     shoot = new GameButton (0, 350, 65, 65);
     duck = new GameButton (0, 415, 65, 65);
     pause = new GameButton (0, 0, 35, 35);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeerRun.MainMenu"/> class.
 /// </summary>
 /// <param name="game">Game.</param>
 public MainMenu(IGame game)
     : base(game)
 {
     gBut = new GameButton (50, 350, 250, 450);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeerRun.MainMenu"/> class.
 /// </summary>
 /// <param name="game">Game.</param>
 public MainMenu(IGame game)
     : base(game)
 {
     gBut = new GameButton(50, 350, 250, 450);
 }