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