示例#1
0
 public void SetForceToWalk(bool value)
 {
     foreach (var playerModel in playerFunctions.GetModels())
     {
         playerModel.ForceToWalk = value;
     }
 }
示例#2
0
 public Models.PlayerViewModel UpdatePlayerTranform()
 {
     return(PlayerFunctions.GetModels().Single(x => x.IsBeingControllable));
 }
示例#3
0
 public Models.PlayerViewModel UpdatePlayerTranform()
 {
     return(PlayerFunctions.GetModels().SingleOrDefault(x => x.IsBeingControllable && !x.IsDead));
 }