First respawning/level up
This commit is contained in:
@@ -36,7 +36,12 @@ namespace EvilSatellites
|
||||
|
||||
public void Update()
|
||||
{
|
||||
|
||||
var sats = Screen.Objects.Where((x) => x.Type == ObjectType.Satellite).ToList();
|
||||
if (sats.Count < 1)
|
||||
{
|
||||
Level++;
|
||||
Spawn();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,6 +80,7 @@ namespace EvilSatellites.Screens
|
||||
}
|
||||
UpdateRadar();
|
||||
CheckCollisions();
|
||||
Spawner.Update();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user