public void endLoop() {
			this.currentLoop = null;
			this.insideLoop = false;
		}
		public virtual void startLoop(int startTime, int loopCount) {
			this.currentLoop = new CommandLoop(startTime, loopCount);
			AddCommand(currentLoop);
			this.insideLoop = true;
		}
		public virtual void startTriggerLoop(string loopTrigger, int startTime, int endTime) {
			this.currentLoop = new CommandTriggerLoop(loopTrigger, startTime, endTime);
			AddCommand(currentLoop);
			this.insideLoop = true;
		}
 internal void endLoop()
 {
     this.currentLoop = null;
     this.insideLoop = false;
 }