void RegisterBird(Hummingbird newBird) { Hummingbirds.Add(newBird); BirdToEnemy.Add(newBird, 0); var birdCamGroup = new ScannerGroup(newBird.Cameras); BirdScannerGroups[newBird] = birdCamGroup; ScannerSubsystem.AddScannerGroup(birdCamGroup); }
void RegisterBird(Hummingbird newBird) { Hummingbirds.Add(newBird); BirdToEnemy.Add(newBird, 0); var birdCamGroup = new ScannerGroup(newBird.Cameras); BirdScannerGroups[newBird] = birdCamGroup; ScannerSubsystem.AddScannerGroup(birdCamGroup); }