public void SetEvent(GEvent tl) { this.evt = tl; for (int i = 0; i < this.childs.Count; i++) { this.childs[i].SetEvent(tl.GetEvents()[i]); } }