public bool GetSurrogate(TAlliance alliance, TStation station) { if (alliance == TAlliance.Red) { return(station == TStation.Station1 ? Red1Surrogate : Red2Surrogate); } else { return(station == TStation.Station1 ? Blue1Surrogate : Blue2Surrogate); } }
public Team GetTeam(TAlliance alliance, TStation station) { if (alliance == TAlliance.Red) { return(station == TStation.Station1 ? Red1 : Red2); } else { return(station == TStation.Station1 ? Blue1 : Blue2); } }