// Required function: initialize the velocity vector list for enemy formations and updates enemy positions as necessary public override void Initialize() { velocities.Add(Vector3.Right); collisionManager = (ICollisionManager)Game.Services.GetService(typeof(ICollisionManager)); beatDetector = (IBeatDetector)Game.Services.GetService(typeof(IBeatDetector)); for (int i = 0; i < enemies.Capacity; ++i) { Enemy enemy = Enemy.Create(Game, color); enemy.Position = startPoint; enemy.Reinitialize = true; collisionManager.AddEnemy(enemy); enemies.Add(enemy); } base.Initialize(); }