Example #1
0
 public void OnStateChange()
 {
     if (gameService.GetCurrentState() == GameStatesType.PLAYERSTATE && playerController.GetPlayerState() != PlayerStates.WAIT_FOR_INPUT) //&& playerController.GetPlayerState() != PlayerStates.AMBUSH)
     {
         playerController.ChangePlayerState(PlayerStates.IDLE, PlayerStates.NONE);
         // currentPathService.UnhighlightTeleportableNodes();
     }
 }
Example #2
0
 public ConnectState GetPlayerState()
 {
     return(mImpl.GetPlayerState(this));
 }