Add most AI lines

This commit is contained in:
2021-04-24 18:47:51 +02:00
parent b4f2e85503
commit a7765e5355
13 changed files with 159 additions and 3 deletions
+3 -1
View File
@@ -36,6 +36,7 @@ namespace EvilSatellites.Screens
Spawner.Spawn();
GameStats.Reset();
Manager.Music.Play("game1");
Manager.Computer.Play("GameStart");
return;
}
@@ -56,7 +57,7 @@ namespace EvilSatellites.Screens
ObjectRadar.Destroy();
Spawner.Destroy();
// TODO: figure out why cleanup doesn't work
// Manager.Sound.Cleanup();
Manager.Sound.Cleanup();
HandleGameOver(gameTime);
}
@@ -277,6 +278,7 @@ namespace EvilSatellites.Screens
public void EndGame()
{
GameOver = true;
Manager.Computer.Play("GameOver");
}
}
}