private void MeetPacman() { if (state == GhostState.Chase || state == GhostState.Scatter) { _pack.Killed(); } else if (state == GhostState.Frightened) { TriggerEaten(); Program.game.Score += 500; } }
private void MeetPacman() { if (state == GhostState.Chase || state == GhostState.Scatter) { _pack.Killed(); } else if (state == GhostState.Frightened) { TriggerEaten(); Program.game.Score += 500; } }