public readonly boolDel method; /* method to use if substring matches */ public Among(string s, int substring_i, int result, boolDel linkMethod) { this.s_size = s.Length; this.s = s.ToCharArray(); this.substring_i = substring_i; this.result = result; this.method = linkMethod; }
public readonly boolDel method; /* method to use if substring matches */ public Among(string s, int substring_i, int result, boolDel linkMethod) { this.s_size = s.Length; this.s = s.ToCharArray(); this.substring_i = substring_i; this.result = result; this.method = linkMethod; }
void ExecuteButtonBuffer(boolDel button) { bool success = button(); bufferButton = button; if (!success) { bufferRepeatRemaining = bufferRepeatAmount; } }