public static void RegisterSwitchToElevator(ref SwitchModel sw, ref ElevatorModel elev) { elev.RegisterSwitch(ref sw); }
public static SwitchModel BuildSwitch(Pointf switchPosition, ref MapModel map) { SwitchModel toAdd = new SwitchModel(map.Game, switchPosition); map.AddComponent(toAdd); return toAdd; }