Пример #1
0
 private void Form1_KeyUp(object sender, KeyEventArgs e)
 {
     GameInput.ChangeState(e.KeyCode, false);
 }
Пример #2
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     GameInput.ChangeState(e.KeyCode, true);
 }