diff --git a/1/1.cs b/1/1.cs index 661c605..0a9a906 100644 --- a/1/1.cs +++ b/1/1.cs @@ -98,7 +98,7 @@ namespace LaptopSimulator2015.Levels throw new Exception("The VM was shut down to prevent damage to your Machine.", new Exception("0717750f-3508-4bc2-841e-f3b077c676fe")); } } - invadersCanShoot = invadersCanShoot | !Input.IsKeyDown(Keys.Space); + invadersCanShoot = invadersCanShoot | !Input.Action; List aliensToRemove = new List(); List bulletsToRemove = new List(); for (int i = 0; i < invadersBullets.Count; i++) diff --git a/ToDo.txt b/ToDo.txt deleted file mode 100644 index 4162616..0000000 --- a/ToDo.txt +++ /dev/null @@ -1 +0,0 @@ -1: internal globalisation (switch case with languages) \ No newline at end of file diff --git a/lv1_t/MainForm.cs b/lv1_t/MainForm.cs index ae96fd9..4cccd19 100644 --- a/lv1_t/MainForm.cs +++ b/lv1_t/MainForm.cs @@ -57,7 +57,7 @@ namespace SIT throw new Exception("The VM was shut down to prevent damage to your Machine.", new Exception("0717750f-3508-4bc2-841e-f3b077c676fe")); } } - invadersCanShoot = invadersCanShoot | !Input.IsKeyDown(Keys.Space); + invadersCanShoot = invadersCanShoot | !Input.Action; List aliensToRemove = new List(); List bulletsToRemove = new List(); for (int i = 0; i < invadersBullets.Count; i++)