Class StormInfo
Inheritance
System.Object
StormInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: BulletStorm.Storm
Assembly: BulletStorm.dll
Syntax
public class StormInfo
Constructors
| Improve this Doc View SourceStormInfo(IReadOnlyDictionary<String, IBulletSystem>, IBulletSystem)
Creates a storm info.
Declaration
public StormInfo([NotNull] IReadOnlyDictionary<string, IBulletSystem> bulletSystems, [NotNull] IBulletSystem defaultBulletSystem)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, IBulletSystem> | bulletSystems | This tells the storm how to find bullets by name. |
IBulletSystem | defaultBulletSystem | Use default bullet system if bullet name not found. |
Properties
| Improve this Doc View SourceCompiled
Declaration
public bool Compiled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAddEvent(IStormEvent)
Add a event to the storm.
Declaration
public void AddEvent(IStormEvent stormEvent)
Parameters
Type | Name | Description |
---|---|---|
IStormEvent | stormEvent |
Compile()
Compile the storm.
Declaration
public bool Compile()
Returns
Type | Description |
---|---|
System.Boolean | True if successes. |
Execute(Transform)
Executes the storm.
Declaration
public IEnumerator Execute(Transform emitter)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | emitter |
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
SetEvents(IEnumerable<IStormEvent>)
Set events in the storm.
Declaration
public void SetEvents(IEnumerable<IStormEvent> stormEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IStormEvent> | stormEvents |