Beispiel #1
0
 public static AsyncPattern Eruption(GCXF <float> wait, GCXF <float> times, ExBPY angleOffset,
                                     ExBPY speed, ExBPY gravity, GenCtxProperty[] props) => _AsGCR(S(GCXU(VTPRepo.Velocity(
                                                                                                              TPr.PX(speed),
                                                                                                              TPr.PY(gravity)
                                                                                                              ))), props, GenCtxProperty.WT(wait, times), GenCtxProperty.PreLoop(new GCRule[] {
     new GCRule <float>(ExType.Float, "rv2.a", GCOperator.Assign,
                        GCXF(x => Add(angleOffset(x), RV2A(BRV2(x)))))
 }));
Beispiel #2
0
 public static AsyncPattern GCRepeatFRV2(GCXF <float> wait, GCXF <float> times, GCXF <V2RV2> frv2, GenCtxProperty[] props, SyncPattern[] target) =>
 GCRepeat(new GenCtxProperties <AsyncPattern>(props.Append(GenCtxProperty.WT(wait, times)).Append(GenCtxProperty.FRV2(frv2))), target);