Beispiel #1
0
 public RepeatedKeyPress(KeyPress keyPress, bool requiresPrefix = false)
 {
     nextRequiresSeperator = keyPress.HasModifierPressed;
     textParts             = keyPress.GetTextParts().ToArray();
     this.requiresPrefix   = requiresPrefix;
     repeatCount           = 1;
 }
Beispiel #2
0
 public bool IsRepeatedBy(KeyPress nextKeyPress)
 {
     return(textParts.SequenceEqual(nextKeyPress.GetTextParts()));
 }
Beispiel #3
0
 public bool IsRepeatedBy(KeyPress nextKeyPress)
 {
     return textParts.SequenceEqual(nextKeyPress.GetTextParts());
 }
Beispiel #4
0
 public RepeatedKeyPress(KeyPress keyPress, bool requiresPrefix = false)
 {
     nextRequiresSeperator = keyPress.HasModifierPressed;
     textParts = keyPress.GetTextParts().ToArray();
     this.requiresPrefix = requiresPrefix;
     repeatCount = 1;
 }