public OverworldHUD(GDOverworldScreen scrn, bool firstShow) : base(scrn, Textures.HUDFontRegular)
        {
            AddElement(Settings       = new SettingsButton());
            AddElement(ScoreDisplay   = new ScoreDisplay(firstShow));
            AddElement(MPScoreDisplay = new MultiplayerScoreDisplay(ScoreDisplay, firstShow));

#if FALSE
            AddElement(new HUDLabel
            {
                Alignment        = HUDAlignment.CENTER,
                RelativePosition = new FPoint(0, -200),

                AutoSize = true,

                Background = HUDBackgroundDefinition.CreateSimple(Color.LightBlue),
                TextColor  = Color.Red,

                FontSize = 64,
                Text     = "INTERNAL ALPHA VERSION 4",
            });
#endif
        }
示例#2
0
 public OverworldHUD(GDOverworldScreen scrn, bool firstShow) : base(scrn, Textures.HUDFontRegular)
 {
     AddElement(Settings       = new SettingsButton());
     AddElement(ScoreDisplay   = new ScoreDisplay(firstShow));
     AddElement(MPScoreDisplay = new MultiplayerScoreDisplay(ScoreDisplay, firstShow));
 }