Пример #1
0
 /// <summary>
 /// Constructs a new PRoot.
 /// </summary>
 /// <remarks>
 /// Note the PCanvas already creates a basic scene graph for you so usually you
 /// will not need to construct your own roots.
 /// </remarks>
 public PRoot()
 {
     inputSources = new ArrayList();
     processScheduledInputsDelegate = new ProcessScheduledInputsDelegate(this.ProcessScheduledInputs);
     globalTime        = PUtil.CurrentTimeMillis;
     activityScheduler = new PActivityScheduler(this);
 }
Пример #2
0
		/// <summary>
		/// Constructs a new PRoot.
		/// </summary>
		/// <remarks>
		/// Note the PCanvas already creates a basic scene graph for you so usually you
		/// will not need to construct your own roots.
		/// </remarks>
		public PRoot() {
			inputSources = new ArrayList();
			processScheduledInputsDelegate = new ProcessScheduledInputsDelegate(this.ProcessScheduledInputs);
			globalTime = PUtil.CurrentTimeMillis;
			activityScheduler = new PActivityScheduler(this);
		}