Beispiel #1
0
 private void Form1_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Space)
     {
         tank.shoot(tank.direction);
     }
 }