Ejemplo n.º 1
0
        public void LoadContent(ContentManager content)
        {
            computerArt = content.Load <ASCIIArt>("computer");

            computerMainTextInput.LoadContent(content);
            computerMainTextInput.BorderColor      = Color.Black;
            computerMainTextInput.CursorDimensions = new Dimensions(1, 17);
            computerMainTextInput.Focus            = true;
            computerMainTextArea.LoadContent(content);

            computerMainTextArea.AddText("# Welcome !");
            computerMainTextArea.AddText("# You can start by typing 'help'");
            computerMainTextArea.AddText("# To see what commands are available");

            game.netClientManager.RegisterMessagesCallback(new SendOrPostCallback(GotMessage));
        }