public MisbehaveStation AssignMisbehavior( [CanBeNull] BehaveStation myBehaveStation = null ) { //Return random Misbehavior Station return(myBehaveStation is null?MisbehaveStations.Random() : DistantMisbehaveStation(myBehaveStation)); }
public MisbehaveStation DistantMisbehaveStation(BehaveStation currentLocation) { return(MisbehaveStations.Where(station => station.behaveTwin != currentLocation).Random()); }
public void Register(BehaveStation applyingStation) { BehaveStations.Add(applyingStation); }