Class BehaviorEntity.PoolControls
Repository for functions that can be applied to BehaviorEntities via the behpool-control
command,
including complex bullets such as lasers and pathers.
These functions are applied to the metadata applied to each BehaviorEntity style,
rather than the objects themselves.
Inheritance
System.Object
BehaviorEntity.PoolControls
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.Behavior
Assembly: cs.temp.dll.dll
Syntax
public static class PoolControls
Methods
AllowCull(Boolean)
Set whether or not a pool can cull bullets that are out of camera range.
Declaration
public static BehPF AllowCull(bool cullActive)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | cullActive | True iff camera culling is allowed. |
Returns
Type | Description |
---|---|
Danmokou.Behavior.BehPF |
Reset()
Clear the bullet controls on a pool.
Declaration
public static BehPF Reset()
Returns
Type | Description |
---|---|
Danmokou.Behavior.BehPF |
SoftCullAll(String)
Unconditionally softcull all bullets in a pool with an automatically-determined cull style.
Declaration
public static BehPF SoftCullAll(string targetFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | targetFormat | Base cull style, eg. cwheel |
Returns
Type | Description |
---|---|
Danmokou.Behavior.BehPF |