Пример #1
0
 //Constructor
 public Player(ControllableObject player, SOInputList soInputList)
 {
     controllableObject = player;
     inputList          = soInputList;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="player"></param>
 /// <param name="inputList"></param>
 public void AddPlayer(ControllableObject player, SOInputList inputList)
 {
     _players.Add(new Player(player, inputList));
 }