Пример #1
0
 //Assigns a Survivor to a bunk and adds him to the player's control
 public void AddSurvivor(Survivor s)
 {
     if (compound.bunks_available.Count != 0)
     {
         survivors.Add(s);
         Gamemanager.GM.stateMachine.UpdatePlayerText(this);
         compound.BindSurivorToBunk(s);
         s.BindToPlayer(this);
     }
     Gamemanager.GM.stateMachine.DS.PickCharacter();
 }