Search Results for

    Show / Hide Table of Contents

    Class AtomicPatterns

    Functions that describe atomic synchronous actions.

    Inheritance
    System.Object
    AtomicPatterns
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Danmokou.Danmaku.Patterns
    Assembly: cs.temp.dll.dll
    Syntax
    public static class AtomicPatterns

    Methods

    Circ(TP4, BPRV2)

    Declaration
    public static SyncPattern Circ(TP4 color, BPRV2 locScaleAngle)
    Parameters
    Type Name Description
    TP4 color
    BPRV2 locScaleAngle
    Returns
    Type Description
    SyncPattern

    Complex(VTP, BehOptions)

    Fires a complex bullet (ie. controlled by a GameObject). Do not use for pathers/lasers (use the Pather or Laser functions).

    Declaration
    public static SyncPattern Complex(VTP path, BehOptions options)
    Parameters
    Type Name Description
    VTP path

    Movement descriptor

    BehOptions options

    Bullet constructor options

    Returns
    Type Description
    SyncPattern

    Darkness(TP, BPY, TP4)

    Declaration
    public static SyncPattern Darkness(TP loc, BPY radius, TP4 color)
    Parameters
    Type Name Description
    TP loc
    BPY radius
    TP4 color
    Returns
    Type Description
    SyncPattern

    dPather()

    Declaration
    public static SyncPattern dPather()
    Returns
    Type Description
    SyncPattern

    DS(ReflectEx.Hoist<Vector2>, ReflectEx.Hoist<Vector2>, ExBPY, ExTP)

    Empty-guided fire that points in the same direction as the empty bullet.
    Note: when following polar bullets, you should use this.

    Declaration
    public static SyncPattern DS(ReflectEx.Hoist<Vector2> hoistLoc, ReflectEx.Hoist<Vector2> hoistDir, ExBPY indexer, ExTP offset)
    Parameters
    Type Name Description
    ReflectEx.Hoist<Vector2> hoistLoc
    ReflectEx.Hoist<Vector2> hoistDir
    ExBPY indexer
    ExTP offset
    Returns
    Type Description
    SyncPattern

    Erase<T>(GCXF<T>)

    Declaration
    public static SyncPattern Erase<T>(GCXF<T> meth)
    Parameters
    Type Name Description
    GCXF<T> meth
    Returns
    Type Description
    SyncPattern
    Type Parameters
    Name Description
    T

    Event<T>(String, GCXF<T>)

    Invoke the provided event with the provided value.

    Declaration
    public static SyncPattern Event<T>(string evName, GCXF<T> value)
    Parameters
    Type Name Description
    System.String evName
    GCXF<T> value
    Returns
    Type Description
    SyncPattern
    Type Parameters
    Name Description
    T

    Event0(String)

    Invoke one of the provided unit events according to the firing index.

    Declaration
    public static SyncPattern Event0(string evName)
    Parameters
    Type Name Description
    System.String evName
    Returns
    Type Description
    SyncPattern

    GemItem()

    Declaration
    public static SyncPattern GemItem()
    Returns
    Type Description
    SyncPattern

    gRelCirc(String, TP, BPRV2, TP4)

    Declaration
    public static SyncPattern gRelCirc(string behId, TP loc, BPRV2 locScaleAngle, TP4 color)
    Parameters
    Type Name Description
    System.String behId
    TP loc
    BPRV2 locScaleAngle
    TP4 color
    Returns
    Type Description
    SyncPattern

    gRelRect(String, TP, BPRV2, TP4)

    Declaration
    public static SyncPattern gRelRect(string behId, TP loc, BPRV2 locScaleAngle, TP4 color)
    Parameters
    Type Name Description
    System.String behId
    TP loc
    BPRV2 locScaleAngle
    TP4 color
    Returns
    Type Description
    SyncPattern

    Inode(VTP, Nullable<StateMachine>)

    Declaration
    public static SyncPattern Inode(VTP path, StateMachine? sm)
    Parameters
    Type Name Description
    VTP path
    System.Nullable<StateMachine> sm
    Returns
    Type Description
    SyncPattern

    Laser(VTP, GCXF<Single>, GCXF<Single>, LaserOptions)

    Create a laser.

    Declaration
    public static SyncPattern Laser(VTP path, GCXF<float> cold, GCXF<float> hot, LaserOptions options)
    Parameters
    Type Name Description
    VTP path

    Movement path for the base point of the laser

    GCXF<System.Single> cold

    Time that the laser is in a non-damaging state

    GCXF<System.Single> hot

    Time that the laser is in a damaging state

    LaserOptions options

    Laser constructor options

    Returns
    Type Description
    SyncPattern

    LifeItem()

    Declaration
    public static SyncPattern LifeItem()
    Returns
    Type Description
    SyncPattern

    Noop()

    Do nothing.

    Declaration
    public static SyncPattern Noop()
    Returns
    Type Description
    SyncPattern

    OneUpItem()

    Declaration
    public static SyncPattern OneUpItem()
    Returns
    Type Description
    SyncPattern

    Pather(Single, BPY, VTP, BehOptions)

    Fires a Pather/Tracker projectile, which "remembers" the points it has gone through and draws a path through them.

    Declaration
    public static SyncPattern Pather(float maxTime, BPY remember, VTP path, BehOptions options)
    Parameters
    Type Name Description
    System.Single maxTime

    Maximum remember time. Only enough space to handle this much time will be allocated.

    BPY remember

    The current remember time as a function of the current life-time

    VTP path

    Movement descriptor

    BehOptions options

    Bullet constructor options

    Returns
    Type Description
    SyncPattern

    PointPPItem()

    Declaration
    public static SyncPattern PointPPItem()
    Returns
    Type Description
    SyncPattern

    PowerAura(PowerAuraOptions)

    Declaration
    public static SyncPattern PowerAura(PowerAuraOptions options)
    Parameters
    Type Name Description
    PowerAuraOptions options
    Returns
    Type Description
    SyncPattern

    Powerup(String, TP4, GCXF<Single>, GCXF<Single>)

    Create a powerup effect. These effects are parented directly under the BEH they are attached to. Offsets, etc do not apply.

    Declaration
    [Obsolete("Use PowerAura instead.")]
    public static SyncPattern Powerup(string sfx, TP4 color, GCXF<float> time, GCXF<float> itrs)
    Parameters
    Type Name Description
    System.String sfx

    Sound effect to play when the powerup starts

    TP4 color

    Color multiplier function

    GCXF<System.Single> time

    Time the powerup exists

    GCXF<System.Single> itrs

    Number of cycles the powerup goes through

    Returns
    Type Description
    SyncPattern

    PowerupShiftItem()

    Declaration
    public static SyncPattern PowerupShiftItem()
    Returns
    Type Description
    SyncPattern

    PowerupStatic(String, TP4, GCXF<Single>, GCXF<Single>)

    Create a powerup effect, using the V2RV2 offset to position.

    Declaration
    [Obsolete("Use PowerAura instead.")]
    public static SyncPattern PowerupStatic(string sfx, TP4 color, GCXF<float> time, GCXF<float> itrs)
    Parameters
    Type Name Description
    System.String sfx

    Sound effect to play when the powerup starts

    TP4 color

    Color multiplier function

    GCXF<System.Single> time

    Time the powerup exists

    GCXF<System.Single> itrs

    Number of cycles the powerup goes through

    Returns
    Type Description
    SyncPattern

    Rect(TP4, BPRV2)

    Declaration
    public static SyncPattern Rect(TP4 color, BPRV2 locScaleAngle)
    Parameters
    Type Name Description
    TP4 color
    BPRV2 locScaleAngle
    Returns
    Type Description
    SyncPattern

    RelCirc(String, Func<TExArgCtx, TEx<BehaviorEntity>>, BPRV2, TP4)

    Declaration
    public static SyncPattern RelCirc(string behId, Func<TExArgCtx, TEx<BehaviorEntity>> beh, BPRV2 locScaleAngle, TP4 color)
    Parameters
    Type Name Description
    System.String behId
    System.Func<TExArgCtx, TEx<BehaviorEntity>> beh
    BPRV2 locScaleAngle
    TP4 color
    Returns
    Type Description
    SyncPattern

    RelRect(String, Func<TExArgCtx, TEx<BehaviorEntity>>, BPRV2, TP4)

    Declaration
    public static SyncPattern RelRect(string behId, Func<TExArgCtx, TEx<BehaviorEntity>> beh, BPRV2 locScaleAngle, TP4 color)
    Parameters
    Type Name Description
    System.String behId
    System.Func<TExArgCtx, TEx<BehaviorEntity>> beh
    BPRV2 locScaleAngle
    TP4 color
    Returns
    Type Description
    SyncPattern

    S(VTP)

    Fires a simple bullet.

    Declaration
    public static SyncPattern S(VTP path)
    Parameters
    Type Name Description
    VTP path

    Movement descriptor

    Returns
    Type Description
    SyncPattern

    SafeLaser(GCXF<Single>, LaserOptions)

    Declaration
    public static SyncPattern SafeLaser(GCXF<float> cold, LaserOptions options)
    Parameters
    Type Name Description
    GCXF<System.Single> cold
    LaserOptions options
    Returns
    Type Description
    SyncPattern

    SafeLaserM(VTP, GCXF<Single>, LaserOptions)

    Declaration
    public static SyncPattern SafeLaserM(VTP path, GCXF<float> cold, LaserOptions options)
    Parameters
    Type Name Description
    VTP path
    GCXF<System.Single> cold
    LaserOptions options
    Returns
    Type Description
    SyncPattern

    SFX()

    Play the audio clip defined by the style.

    Declaration
    public static SyncPattern SFX()
    Returns
    Type Description
    SyncPattern

    Simple(VTP, SBOptions)

    Fires a simple bullet. Takes an array of simple bullet options as modifiers. See

    Declaration
    public static SyncPattern Simple(VTP path, SBOptions options)
    Parameters
    Type Name Description
    VTP path
    SBOptions options
    Returns
    Type Description
    SyncPattern

    SmallValueItem()

    Declaration
    public static SyncPattern SmallValueItem()
    Returns
    Type Description
    SyncPattern

    Summon(VTP, Nullable<StateMachine>, BehOptions)

    Declaration
    public static SyncPattern Summon(VTP path, StateMachine? sm, BehOptions options)
    Parameters
    Type Name Description
    VTP path
    System.Nullable<StateMachine> sm
    BehOptions options
    Returns
    Type Description
    SyncPattern

    SummonR(RootedVTP, Nullable<StateMachine>, BehOptions)

    Declaration
    public static SyncPattern SummonR(RootedVTP path, StateMachine? sm, BehOptions options)
    Parameters
    Type Name Description
    RootedVTP path
    System.Nullable<StateMachine> sm
    BehOptions options
    Returns
    Type Description
    SyncPattern

    SummonRUP(RootedVTP, Nullable<StateMachine>, BehOptions)

    Declaration
    public static SyncPattern SummonRUP(RootedVTP path, StateMachine? sm, BehOptions options)
    Parameters
    Type Name Description
    RootedVTP path
    System.Nullable<StateMachine> sm
    BehOptions options
    Returns
    Type Description
    SyncPattern

    SummonRZ(Nullable<StateMachine>, BehOptions)

    Declaration
    public static SyncPattern SummonRZ(StateMachine? sm, BehOptions options)
    Parameters
    Type Name Description
    System.Nullable<StateMachine> sm
    BehOptions options
    Returns
    Type Description
    SyncPattern

    SummonS(VTP, Nullable<StateMachine>)

    Declaration
    public static SyncPattern SummonS(VTP path, StateMachine? sm)
    Parameters
    Type Name Description
    VTP path
    System.Nullable<StateMachine> sm
    Returns
    Type Description
    SyncPattern

    SummonSUP(VTP, Nullable<StateMachine>)

    Declaration
    public static SyncPattern SummonSUP(VTP path, StateMachine? sm)
    Parameters
    Type Name Description
    VTP path
    System.Nullable<StateMachine> sm
    Returns
    Type Description
    SyncPattern

    SummonUP(VTP, Nullable<StateMachine>, BehOptions)

    Declaration
    public static SyncPattern SummonUP(VTP path, StateMachine? sm, BehOptions options)
    Parameters
    Type Name Description
    VTP path
    System.Nullable<StateMachine> sm
    BehOptions options
    Returns
    Type Description
    SyncPattern

    ValueItem()

    Declaration
    public static SyncPattern ValueItem()
    Returns
    Type Description
    SyncPattern
    In This Article
    Back to top Generated by DocFX