Show / Hide Table of Contents

    Class BulletManager.SimpleBulletControls

    Bullet controls for use with the bullet-control SM command. These deal with simple bullets.
    All controls have a cond argument, which is a filtering condition. The control only affects bullets for which the condition is satisfied.

    Inheritance
    System.Object
    BulletManager.SimpleBulletControls
    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
    Assembly: cs.temp.dll.dll
    Syntax
    public static class SimpleBulletControls

    Methods

    Copy(String, ExPred)

    Copy a bullet into another pool. A new ID will be given to the new bullet.

    Declaration
    public static BulletManager.exBulletControl Copy(string style, ExPred cond)
    Parameters
    Type Name Description
    System.String style

    Copied style

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    CopyNull(String, ExPred)

    Copy (nondestructively) a bullet into another pool, with no movement.
    If the style is null or empty, then will instead spawn a cull bullet.

    Declaration
    public static BulletManager.exBulletControl CopyNull(string style, ExPred cond)
    Parameters
    Type Name Description
    System.String style

    Copied style

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    Cull(ExPred)

    Destroy bullets.

    Declaration
    public static BulletManager.exBulletControl Cull(ExPred cond)
    Parameters
    Type Name Description
    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    FlipX(ExPred)

    Flip the X-velocity of bullets. Use FlipXGT(ExBPY, ExPred), etc instead for flipping against walls.

    Declaration
    public static BulletManager.exBulletControl FlipX(ExPred cond)
    Parameters
    Type Name Description
    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    FlipXGT(ExBPY, ExPred)

    Flip the x-velocity and x-position of bullets around a wall on the right.

    Declaration
    public static BulletManager.exBulletControl FlipXGT(ExBPY wall, ExPred cond)
    Parameters
    Type Name Description
    ExBPY wall

    X-position of wall

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    FlipY(ExPred)

    Flip the Y-velocity of bullets. Use FlipXGT(ExBPY, ExPred), etc instead for flipping against walls.

    Declaration
    public static BulletManager.exBulletControl FlipY(ExPred cond)
    Parameters
    Type Name Description
    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    Restyle(String, ExPred)

    Change the style of bullets, ie. transfer the bullet to another pool.

    Declaration
    public static BulletManager.exBulletControl Restyle(string target, ExPred cond)
    Parameters
    Type Name Description
    System.String target

    New style

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    RestyleEffect(String, String, ExPred)

    Restyle a bullet and summon a softcull effect.
    If the softcull style is null or empty, then will instead spawn a cull bullet.

    Declaration
    public static BulletManager.exBulletControl RestyleEffect(string copyStyle, string softcullStyle, ExPred cond)
    Parameters
    Type Name Description
    System.String copyStyle

    Copied style

    System.String softcullStyle

    Softcull style

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    Softcull(String, ExPred)

    Change the bullets into a softcull-type bullet rather than destroying them directly. Also leaves behind an afterimage of the bullet as it gets deleted in a CulledPool.

    Declaration
    public static BulletManager.exBulletControl Softcull(string target, ExPred cond)
    Parameters
    Type Name Description
    System.String target

    New style. Can be null or _ to skip the copying and only do the afterimage.

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    Softcull_noexpr(SoftcullProperties, String, Pred)

    Softcull but without expressions. Used internally for runtime bullet controls.

    Declaration
    public static BulletManager.cBulletControl Softcull_noexpr(SoftcullProperties props, string target, Pred cond)
    Parameters
    Type Name Description
    SoftcullProperties props
    System.String target
    Pred cond
    Returns
    Type Description
    BulletManager.cBulletControl

    Time(ExBPY, ExPred)

    Set the time of bullets.

    Declaration
    public static BulletManager.exBulletControl Time(ExBPY time, ExPred cond)
    Parameters
    Type Name Description
    ExBPY time

    Time to set

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    X(ExBPY, ExPred)

    Set the x-position of bullets.

    Declaration
    public static BulletManager.exBulletControl X(ExBPY x, ExPred cond)
    Parameters
    Type Name Description
    ExBPY x

    C value

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl

    Y(ExBPY, ExPred)

    Set the y-position of bullets.

    Declaration
    public static BulletManager.exBulletControl Y(ExBPY y, ExPred cond)
    Parameters
    Type Name Description
    ExBPY y

    Y value

    ExPred cond

    Filter condition

    Returns
    Type Description
    BulletManager.exBulletControl
    Back to top Generated by DocFX