public override void Initialize() { this.layer = Layer.HUD; this.depth = new Depth(0.9f); this._showBackground = false; this.itemSize = new Vec2(390f, 16f); this._root = true; this._dialog = new TextEntryDialog(); Level.Add((Thing)this._dialog); this._deleteDialog = new MessageDialogue(); Level.Add((Thing)this._deleteDialog); this._overwriteDialog = new MessageDialogue(); Level.Add((Thing)this._overwriteDialog); this.drawControls = false; }
public override void Initialize() { this.layer = Layer.HUD; this.depth = new Depth(0.9f); this._showBackground = false; this.itemSize = new Vec2(386f, 16f); this._root = true; this.drawControls = false; this._descriptionBox = new Textbox(this.x + 5f, this.y + 225f, 316f, 40f, 0.5f, 9, "<ENTER DESCRIPTION>"); this._nameBox = new Textbox(this.x + 5f, this.y + (float)byte.MaxValue, 316f, 12f, maxLines: 1, emptyText: "<ENTER NAME>"); this._font = new FancyBitmapFont("smallFont"); this._confirm = new MessageDialogue(); Level.Add((Thing)this._confirm); this._upload = new UploadDialogue(); Level.Add((Thing)this._upload); this._notify = new NotifyDialogue(); Level.Add((Thing)this._notify); this._deathmatchTest = new DeathmatchTestDialogue(); Level.Add((Thing)this._deathmatchTest); this._testSuccess = new TestSuccessDialogue(); Level.Add((Thing)this._testSuccess); this._arcadeTest = new ArcadeTestDialogue(); Level.Add((Thing)this._arcadeTest); }