Beispiel #1
0
 private void TrackSwitches()
 {
     this.trackedSwitches.Clear();
     foreach (TrileGroup group in Enumerable.Where <TrileGroup>((IEnumerable <TrileGroup>) this.LevelManager.Groups.Values, (Func <TrileGroup, bool>)(x => ActorTypeExtensions.IsPushSwitch(x.ActorType))))
     {
         this.trackedSwitches.Add(group.Id, new PushSwitchesHost.SwitchState(group, this.chick, this.poum, this.release));
     }
 }