public void Cancel() { if (TargetSystem.Showing) { TargetSystem.Hide(); if (ActionMenu.ActiveAction.Options.Count() == 1) { ActionMenu.Show(); HealthCounter.Show(); } else { OptionsListMenu.Show(ActionMenu.ActiveAction.Options); } /* * ActionMenu.Hide(); * OptionsListMenu.Show(ActionMenu.ActiveAction.Options); * ActiveOption = OptionsListMenu.Active; * * ActiveOption = OptionsListMenu.Active; * OptionsListMenu.Hide(); * TargetSystem.Show(ActiveOption); * */ } else if (OptionsListMenu.Showing) { OptionsListMenu.Hide(); ActionMenu.Start(); HealthCounter.Show(); } }
public void MoveTargetUp() { if (OptionsListMenu.Showing) { OptionsListMenu.MoveTargetUp(); ActiveOption = OptionsListMenu.Active; } if (ActionMenu.Showing) { ActionMenu.MoveTargetUp(); } }
public void ExecuteFromOptionMenu() { ActiveOption = OptionsListMenu.Active; if (OptionsListMenu.Active is ChangeMemberOption memberOptions) { SubOptionsListMenu.Show(memberOptions.PartnerOptions); } else { OptionsListMenu.Hide(); TargetSystem.Show(ActiveOption); } }
public void MoveTargetDown() { if (SubOptionsListMenu.Showing) { SubOptionsListMenu.MoveTargetDown(); ActiveOption = SubOptionsListMenu.Active; } else if (OptionsListMenu.Showing) { OptionsListMenu.MoveTargetDown(); ActiveOption = OptionsListMenu.Active; } if (ActionMenu.Showing) { ActionMenu.MoveTargetDown(); } }
public void ShowTargeting(IOption active) { ActiveOption = active; OptionsListMenu.Hide(); TargetSystem.Show(active); }
public void ShowOptionsMenu() { ActionMenu.Hide(); OptionsListMenu.Show(ActionMenu.ActiveAction.Options); ActiveOption = OptionsListMenu.Active; }