void RegisterBird(Hummingbird newBird) { Hummingbirds.Add(newBird); BirdToEnemy.Add(newBird, 0); var birdCamGroup = new ScannerGroup(newBird.Cameras); BirdScannerGroups[newBird] = birdCamGroup; ScannerSubsystem.AddScannerGroup(birdCamGroup); }
public void RemoveScannerGroup(ScannerGroup group) { ScannerGroups.Remove(group); group.Host = null; }
public void AddScannerGroup(ScannerGroup group) { ScannerGroups.Add(group); group.Host = this; }