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