コード例 #1
0
        public GameManager()
        {
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferWidth = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width;
            graphics.PreferredBackBufferHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height;
            graphics.IsFullScreen = false;
            Content.RootDirectory = "Content/Manager";
            gamelist = new List<string>();
            loadedGame = -1;

            skeletonClient = new SkeletonClient();
            skeletonClient.SkeletonFrameReady += client_SkeletonFrameReady;
            skeletonClient.Connect("127.0.0.1", socket);
        }