Search Results for

    Show / Hide Table of Contents

    Class BxBCollideLASM

    collide: Set up collision handlers for bullet-on-bullet collision.

    Inheritance
    System.Object
    Danmokou.SM.StateMachine
    LineActionSM
    ReflectableLASM
    BxBCollideLASM
    Inherited Members
    ReflectableLASM.Start(SMHandoff)
    Namespace: Danmokou.SM
    Assembly: cs.temp.dll.dll
    Syntax
    public class BxBCollideLASM : ReflectableLASM

    Constructors

    BxBCollideLASM(BxBCollideLASM.ColliderFn)

    Declaration
    public BxBCollideLASM(BxBCollideLASM.ColliderFn fn)
    Parameters
    Type Name Description
    BxBCollideLASM.ColliderFn fn

    Methods

    SBOnSB(StyleSelector, StyleSelector, Pred, Pred, cBulletControl[], cBulletControl[])

    Set up collision handlers between simple bullet pools.
    A collision occurs if a bullet from the left pools overlaps a bullet from the right pools.

    Declaration
    public static BxBCollideLASM.ColliderFn SBOnSB(StyleSelector left, StyleSelector right, Pred leftPred, Pred rightPred, cBulletControl[] leftCtrls, cBulletControl[] rightCtrls)
    Parameters
    Type Name Description
    StyleSelector left

    Left pools

    StyleSelector right

    Right pools

    Pred leftPred

    Predicate deciding whether a bullet in the left pools should test for collisions

    Pred rightPred

    Predicate deciding whether a bullet in the right pools should test for collisions

    cBulletControl[] leftCtrls

    Controls to run on left bullets when they collide

    cBulletControl[] rightCtrls

    Controls to run on right bullets when they collide

    Returns
    Type Description
    BxBCollideLASM.ColliderFn
    In This Article
    Back to top Generated by DocFX