Beispiel #1
0
        public void ShowMenu()
        {
            _headerMessage = new Header("R pour quitter", Anchor.AutoCenter);
            UserInterface.Active.AddEntity(_headerMessage);

            NPCPanel = new Panel(size: new Vector2(1200, 200), skin: PanelSkin.Golden, anchor: Anchor.AutoCenter, offset: new Vector2(10, 10));
            UserInterface.Active.AddEntity(NPCPanel);
            NPCPanel.AddChild(new Header("Le chroniqueur", Anchor.TopLeft));
            NPCPanel.AddChild(new HorizontalLine());
            Sentence = Lib.ChooseSentenceForChronicler();

            Paragraph paragraph = new Paragraph(Sentence);

            NPCPanel.AddChild(paragraph);
        }