class AgendaEntry { time: number; scripts: A4Script[] = []; static fromXML(xml: Element): AgendaEntry { let ae:AgendaEntry = new AgendaEntry(); ae.time = Number(xml.getAttribute("time")); for(let i:number = 0;i=this.duration && !this.loop) { if (!this.loop) return true; } return false; } name:string; duration:number; loop:boolean; absoluteTime:boolean; absoluteStartCycle:number; cycle:number; entries:AgendaEntry[] = []; }