public bool isSubPatternOf(ClapPattern p) { if (claps.Count >= p.claps.Count) return false; for (int i=0; i<claps.Count; i++) if (claps[i] != p.claps[i]) return false; return true; }
public ActionGroup(String name, ClapPattern p, List<ActionSetting> actions) { this.pattern = p; this.name = name; this.actions = actions; }
public void setPattern(ClapPattern p) { }