public SpawnManager(Game game) : base(game) { asteroids = new List <Asteroid>(); timer = new Utils.Timer(); timer.AddTimer("creationTimer", .1f, createAsteroids, true); this.game = game; random = new Random(); }
public SpawnManager(Game game) : base(game) { asteroids = new List<Asteroid>(); timer = new Utils.Timer(); timer.AddTimer("creationTimer", .1f, createAsteroids, true); this.game = game; random = new Random(); }
public override void Initialize() { missileTimer.AddTimer("DeleteMissile", MISSILE_DELETE_TIME, deleteSelf, false); base.Initialize(); }