public static bool IsMatch(StepInput input)
 {
     return(input.chunks.Count > 2 && input.chunks[1].StartsWith("=>") &&
            input.supplier.IsEntity(input.chunks[0]) &&
            RegexUtilities.GetVector3FromString(input.line) != Vector3.zero);
 }
 public MoveAiInDirectionStep(StepInput input)
 {
     this.Direction = RegexUtilities.GetVector3FromString(input.line);
     this.SpeedType = StepUtilities.SpeedTypeFromString(input.chunks[1]);
     this.entity    = input.supplier.GetEntityByAlias(input.chunks[0]);
 }
Exemplo n.º 3
0
 public WaitStep(StepInput input)
 {
     this.milliseconds = RegexUtilities.GetDigitsFromString(input.chunks[1]);
 }