public JudgementItem(RuleMenu Target, Judgement Something) { target = Target; something = Something; id = something.Id; if (something.Id == null) id = "No ID selected"; }
public RuleItem(RuleMenu Target, Rule Something) { target = Target; something = Something; id = something.RuleName; if (something.RuleName == null) id = "No Rule Name designated"; }
public void Initialize() { Players = Manager.Players; pauseMenu1 = new TeamMenu(Manager.Team1, this); pauseMenu2 = new TeamMenu(Manager.Team2, this); ruleMenu1 = new RuleMenu(this, Manager.Team1); ruleMenu2 = new RuleMenu(this, Manager.Team2); OpenMenu(mainMenu); }
public RuleImplementerItem(GameManager M, RuleMenu Target) { target = Target; manager = M; id = "Add new rule"; }