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