Exemple #1
0
        public Gui()
        {
            InitializeComponent();
            logic = new GameLogic();
            inputText.KeyUp += new KeyEventHandler(MessageText_KeyUp);

            messageLog = new Queue<string>();
            maxLogSize = 10;
            logPointer = 0;

            string intro = logic.getIntro();
            displayText(intro);

            inputText.Focus();
        }