public ButtonAccount(SettingsButton master) : base(master, 1, 1f)
 {
     if (MainGame.Inst.Profile.AccountType == AccountType.Anonymous)
     {
         AddHUDOperation(new SubSettingsButtonShakeOperation());
     }
 }
Beispiel #2
0
 public GDWorldHUD(GDWorldMapScreen scrn) : base(scrn, Textures.HUDFontRegular)
 {
     AddElement(Settings     = new SettingsButton());
     AddElement(ScoreDisplay = new ScoreDisplay(false));
     AddElement(new MultiplayerScoreDisplay(ScoreDisplay, false));
     AddElement(TopLevelDisplay = new TopLevelDisplay());
     AddElement(InfoDisplay     = new InformationDisplay());
 }
Beispiel #3
0
        public GDWorldHUD(GDWorldMapScreen scrn) : base(scrn, Textures.HUDFontRegular)
        {
            AddElement(Settings = new SettingsButton());

            ScoreDispMan = new ScoreDisplayManager(this, false);

            AddElement(TopLevelDisplay = new TopLevelDisplay());
            AddElement(InfoDisplay     = new InformationDisplay());
        }
        protected SubSettingButton(SettingsButton master, int position, float icscale)
        {
            this.master   = master;
            this.position = position;
            Slave         = new SubSettingClickZone(this);
            IconScale     = icscale;

            RelativePosition = new FPoint(8, 8);
            Size             = new FSize(DIAMETER, DIAMETER);
            Alignment        = HUDAlignment.BOTTOMLEFT;
        }
 public ButtonLanguage(SettingsButton master) : base(master, 6, 0.85f)
 {
 }
 public ButtonMusic(SettingsButton master) : base(master, 4, 1f)
 {
 }
 public ButtonEffects(SettingsButton master) : base(master, 5, 1f)
 {
 }
 public ButtonHighscore(SettingsButton master) : base(master, 2, 1f)
 {
 }
 public ButtonVolume(SettingsButton master) : base(master, 3, 1f)
 {
 }
Beispiel #10
0
 public HUDButtonAbout(SettingsButton master) : base(master, 0, 1f)
 {
 }
 public ButtonVolume(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 1f)
 {
 }
Beispiel #12
0
 public GDGameEndHUD(GDEndGameScreen scrn) : base(scrn, Textures.HUDFontRegular)
 {
     AddElement(Settings     = new SettingsButton());
     AddElement(ScoreDisplay = new ScoreDisplay(false));
     AddElement(new MultiplayerScoreDisplay(ScoreDisplay, false));
 }
 public ButtonHighscore(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 1f)
 {
 }
 public ButtonColorblind(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 0.95f)
 {
 }
 public ButtonBFB(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 1.20f)
 {
 }
 public ButtonReddit(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 1.10f)
 {
 }
 public ButtonLanguage(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 0.85f)
 {
 }
 public ButtonEffects(SettingsButton master, SSBOrientation o, int idx) : base(master, o, idx, 1f)
 {
 }