public GameGUIOptions GetGUIOptions() { SkillEnabled guiButtonsEnabled = new SkillEnabled(); guiButtonsEnabled.SetAll(false); guiButtonsEnabled.shoot = true; GameGUIOptions guiOptions = GameGUIOptions.Create(guiButtonsEnabled,false); Stats.skillEnabled = guiButtonsEnabled; return guiOptions; }
public static SkillEnabled AllActive() { SkillEnabled ret = new SkillEnabled(); ret.SetAll(true); return ret; }
private void SilenceGUI() { SkillEnabled skl = new SkillEnabled(); skl.SetAll(true); skl.skillCap = false; skl.diagSkillCap = false; GameGUIOptions opt = GameGUIOptions.Create(skl,false); tutorialScene.ChangeGUIOptions(opt); Stats.skillEnabled = skl; Control.cState.player[0].playerSkill.Reset(); Control.SetUndoPoint(Control.cState); }
private void BuildGUI() { SkillEnabled skl = new SkillEnabled(); skl.SetAll(false); skl.build = true; GameGUIOptions opt = GameGUIOptions.Create(skl,false); tutorialScene.ChangeGUIOptions(opt); Stats.skillEnabled = skl; }