示例#1
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferWidth = 1200;
            graphics.PreferredBackBufferHeight = 700;

            input = new InputHandler(this);
            this.Components.Add(input);

            agentManager = new AgentManager(this);
            this.Components.Add(agentManager);
        }
示例#2
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferWidth  = 1200;
            graphics.PreferredBackBufferHeight = 700;

            input = new InputHandler(this);
            this.Components.Add(input);

            agentManager = new AgentManager(this);
            this.Components.Add(agentManager);
        }