public static void RemoveGoal(GOALS goal) { switch(goal) { case GOALS.ED: instance.goalEd = false; instance.SetHelpText(); break; case GOALS.EMMA: instance.goalEmma = false; instance.SetHelpText(); break; case GOALS.CHRIS: instance.enabled = false; break; } }
//(Generic) Allow the player to guess one player's goal protected virtual int GuessGoal(Player player) { int guess = GOALS[RANDOM.Next(GOALS.Count())]; return(guess); }
public static void ShowGoal(GOALS goal) { switch(goal) { case GOALS.ED: instance.goalEd = true; instance.SetHelpText(); break; case GOALS.EMMA: instance.goalEmma = true; instance.SetHelpText(); break; case GOALS.CHRIS: instance.goalChris = true; instance.SetHelpText(); break; } instance.Notify(); }