Example #1
0
 public void EnemyLostPlayer(PlayerMovement player)
 {
     currentAlarmState    = enemyState.NotAlarmed;
     currentMovementState = enemyState.Patrolling;
     this.player          = player;
     if (ui != null)
     {
         ui.EnemyDidntSeePlayer();
         //ui.NoticedPlayer();
     }
 }
Example #2
0
    public void EnemyDidntSeePlayer(PlayerMovement player)
    {
        this.player = player;

        if (ui != null)
        {
            ui.EnemyDidntSeePlayer();
        }
    }