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
+2 -1
View File
@@ -20,12 +20,14 @@ namespace EvilSatellites
private bool _Running = false;
public Synthy Sound;
public MusicManager Music;
public AI Computer;
public VibrationManager Vibrations;
public FDNReverb EnvironmentEffect;
public ScreenManager(Game instance): base(instance)
{
Sound = new Synthy();
Music = new MusicManager(Sound);
Computer = new AI(Sound);
Vibrations = new VibrationManager(PlayerIndex.One);
EnvironmentEffect = Sound.CreateReverb();
EnvironmentEffect.Delay = 0.03;
@@ -48,7 +50,6 @@ namespace EvilSatellites
{
screen.Activate();
}
Vibrations.AddVibration(1, 1, 500);
base.Initialize();
}