Show / Hide Table of Contents

    Class SBOption

    Properties that modify the behavior of simple bullets.

    Inheritance
    System.Object
    SBOption
    SBOption.ValueProp<T>
    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

    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(GCXU<SBV2>)

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

    Declaration
    public static SBOption Dir2(GCXU<SBV2> dir)
    Parameters
    Type Name Description
    GCXU<SBV2> dir
    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 effStrategy)
    Parameters
    Type Name Description
    System.Int32 bossDmg

    Damage against boss enemies

    System.Int32 stageDmg

    Damage against stage enemies

    System.String effStrategy

    On-hit effect

    Returns
    Type Description
    SBOption

    Scale(GCXU<BPY>)

    Give the bullet a custom scale.

    Declaration
    public static SBOption Scale(GCXU<BPY> scale)
    Parameters
    Type Name Description
    GCXU<BPY> scale
    Returns
    Type Description
    SBOption
    Back to top Generated by DocFX