Search Results for

    Show / Hide Table of Contents

    Class SBOption

    Properties that modify the behavior of simple bullets.

    Inheritance
    System.Object
    SBOption
    Implements
    System.IEquatable<SBOption>
    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.Options
    Assembly: cs.temp.dll.dll
    Syntax
    public class SBOption : IEquatable<SBOption>

    Methods

    Dir(Func<TExArgCtx, TEx<Single>>)

    Give the bullet a custom rotation function, in degrees.

    Declaration
    public static SBOption Dir(Func<TExArgCtx, TEx<float>> dir)
    Parameters
    Type Name Description
    System.Func<TExArgCtx, TEx<System.Single>> dir
    Returns
    Type Description
    SBOption

    Dir2(SBV2)

    Give the bullet a custom rotation function, in cos/sin coordinates.

    Declaration
    public static SBOption Dir2(SBV2 dir)
    Parameters
    Type Name Description
    SBV2 dir
    Returns
    Type Description
    SBOption

    OnHit(String)

    Add an on-hit effect to the bullet. (For player bullets, use Player(Int32, Int32, String) instead.)

    Declaration
    public static SBOption OnHit(string onHit)
    Parameters
    Type Name Description
    System.String onHit
    Returns
    Type Description
    SBOption

    Player(Int32, Int32, String)

    Mark the bullet as a player shot.

    Declaration
    public static SBOption Player(int bossDmg, int stageDmg, string onHit)
    Parameters
    Type Name Description
    System.Int32 bossDmg

    Damage against boss enemies

    System.Int32 stageDmg

    Damage against stage enemies

    System.String onHit

    On-hit effect

    Returns
    Type Description
    SBOption

    Scale(BPY)

    Give the bullet a custom scale.

    Declaration
    public static SBOption Scale(BPY scale)
    Parameters
    Type Name Description
    BPY scale
    Returns
    Type Description
    SBOption

    Implements

    System.IEquatable<T>
    In This Article
    Back to top Generated by DocFX