Ejemplo n.º 1
0
        protected override void Initialize()
        {
            graphics.PreferredBackBufferHeight = GraphicsDevice.DisplayMode.Height;
            graphics.PreferredBackBufferWidth  = GraphicsDevice.DisplayMode.Width;
            graphics.IsFullScreen = true;
            graphics.ApplyChanges();

            PlayerConnectPacket.New(Program.UserName).Send(Client);

            GameState baseState = new TestState(this);

            GameState.Push(baseState);

            base.Initialize();
        }