public void AssignExitDoors(ref ExitDoorModel door1, ref ExitDoorModel door2) { mExitDoors = new List<ExitDoorModel>(); mExitDoors.Add(door1); mExitDoors.Add(door2); }
public static ExitDoorModel BuildExitDoor(Pointf doorPosition, PlayerIndex playerIndex, ref MapModel map) { ExitDoorModel exit = new ExitDoorModel(map.Game, doorPosition, playerIndex); map.AddComponent(exit); return exit; }