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()
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
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
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
dPather()
Declaration
public static SyncPattern dPather()
Returns
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
Erase<T>(GCXF<T>)
Declaration
public static SyncPattern Erase<T>(GCXF<T> meth)
Parameters
Type |
Name |
Description |
GCXF<T> |
meth |
|
Returns
Type Parameters
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 Parameters
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
GemItem()
Declaration
public static SyncPattern GemItem()
Returns
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
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
Inode(VTP, Nullable<StateMachine>)
Declaration
public static SyncPattern Inode(VTP path, StateMachine? sm)
Parameters
Type |
Name |
Description |
VTP |
path |
|
System.Nullable<StateMachine> |
sm |
|
Returns
Laser(VTP, GCXF<Single>, GCXF<Single>, LaserOptions)
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
LifeItem()
Declaration
public static SyncPattern LifeItem()
Returns
Noop()
Declaration
public static SyncPattern Noop()
Returns
OneUpItem()
Declaration
public static SyncPattern OneUpItem()
Returns
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
PointPPItem()
Declaration
public static SyncPattern PointPPItem()
Returns
PowerAura(PowerAuraOptions)
Declaration
public static SyncPattern PowerAura(PowerAuraOptions options)
Parameters
Type |
Name |
Description |
PowerAuraOptions |
options |
|
Returns
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
PowerupShiftItem()
Declaration
public static SyncPattern PowerupShiftItem()
Returns
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
Rect(TP4, BPRV2)
Declaration
public static SyncPattern Rect(TP4 color, BPRV2 locScaleAngle)
Parameters
Type |
Name |
Description |
TP4 |
color |
|
BPRV2 |
locScaleAngle |
|
Returns
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
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
S(VTP)
Declaration
public static SyncPattern S(VTP path)
Parameters
Type |
Name |
Description |
VTP |
path |
Movement descriptor
|
Returns
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
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
SFX()
Play the audio clip defined by the style.
Declaration
public static SyncPattern SFX()
Returns
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
SmallValueItem()
Declaration
public static SyncPattern SmallValueItem()
Returns
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
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
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
SummonRZ(Nullable<StateMachine>, BehOptions)
Declaration
public static SyncPattern SummonRZ(StateMachine? sm, BehOptions options)
Parameters
Type |
Name |
Description |
System.Nullable<StateMachine> |
sm |
|
BehOptions |
options |
|
Returns
SummonS(VTP, Nullable<StateMachine>)
Declaration
public static SyncPattern SummonS(VTP path, StateMachine? sm)
Parameters
Type |
Name |
Description |
VTP |
path |
|
System.Nullable<StateMachine> |
sm |
|
Returns
SummonSUP(VTP, Nullable<StateMachine>)
Declaration
public static SyncPattern SummonSUP(VTP path, StateMachine? sm)
Parameters
Type |
Name |
Description |
VTP |
path |
|
System.Nullable<StateMachine> |
sm |
|
Returns
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
ValueItem()
Declaration
public static SyncPattern ValueItem()
Returns