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

            var birdCamGroup = new ScannerGroup(newBird.Cameras);

            BirdScannerGroups[newBird] = birdCamGroup;
            ScannerSubsystem.AddScannerGroup(birdCamGroup);
        }
Пример #2
0
 public void RemoveScannerGroup(ScannerGroup group)
 {
     ScannerGroups.Remove(group);
     group.Host = null;
 }
Пример #3
0
 public void AddScannerGroup(ScannerGroup group)
 {
     ScannerGroups.Add(group);
     group.Host = this;
 }