void activate(ActivateEnemiesEvent e) { if (!active) { if (seq == null) // first activate { seq = action.Sequence(); seq.Call(Stage1); } else { seq.Resume(); } active = true; } }
int activate(ActivateEnemiesEvent e) { if (!active) { if (seq == null && seq1 == null) // first activate { seq = action.Sequence(); seq1 = action.Sequence(); seq.Call(Stage1); seq1.Call(Report); } else { seq.Resume(); seq1.Resume(); } active = true; } return(0); }