Пример #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <remarks>This method sets up the input manager</remarks>
        public Application()
        {
            //initalise default values
            this.approxFps              = new LinkedList <double>();
            this.declarationBuilder     = new Xen.Graphics.VertexDeclarationBuilder();
            this.threadPool             = new ThreadPool();
            this.minimumFrameRate       = 5;
            this.preFrameDrawList       = new List <IDraw>();
            this.preFrameDrawListBuffer = new List <IDraw>();

            this.updateManager = new UpdateManager();
        }
		/// <summary>
		/// Constructor
		/// </summary>
		/// <remarks>This method sets up the input manager</remarks>
		public Application()
		{
			SetApplicationThreadInstance();

			//initalise default values
			this.approxFps = new LinkedList<double>();
			this.declarationBuilder = new Xen.Graphics.VertexDeclarationBuilder();
			this.threadPool = new ThreadPool(this);
			this.minimumFrameRate = 5;
			this.preFrameDrawList = new List<IFrameDraw>();
			this.preFrameDrawListBuffer = new List<IFrameDraw>();

			this.updateManager = new UpdateManager();
		}