예제 #1
0
 /// <summary>
 /// Triggers processing of mouse being pressed down.
 /// </summary>
 private void GamePanel_MouseDown(object sender, MouseEventArgs e)
 {
     gameController.ProcessMouseDown(e.Button.ToString());
 }
예제 #2
0
 /// <summary>
 /// Tracks when a mouse button has been pressed down
 /// </summary>
 private void TankWars_MouseDown(object sender, MouseEventArgs e)
 {
     TheController.ProcessMouseDown(e.Button);
 }