void RegisterBird(Hummingbird newBird)
        {
            Hummingbirds.Add(newBird);
            BirdToEnemy.Add(newBird, 0);

            var birdCamGroup = new ScannerGroup(newBird.Cameras);

            BirdScannerGroups[newBird] = birdCamGroup;
            ScannerSubsystem.AddScannerGroup(birdCamGroup);
        }
Ejemplo n.º 2
0
 public void RemoveScannerGroup(ScannerGroup group)
 {
     ScannerGroups.Remove(group);
     group.Host = null;
 }
Ejemplo n.º 3
0
 public void AddScannerGroup(ScannerGroup group)
 {
     ScannerGroups.Add(group);
     group.Host = this;
 }