Show / Hide Table of Contents

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 Source

StormInfo(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 Source

Compiled

Declaration
public bool Compiled { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

AddEvent(IStormEvent)

Add a event to the storm.

Declaration
public void AddEvent(IStormEvent stormEvent)
Parameters
Type Name Description
IStormEvent stormEvent
| Improve this Doc View Source

Compile()

Compile the storm.

Declaration
public bool Compile()
Returns
Type Description
System.Boolean

True if successes.

| Improve this Doc View Source

Execute(Transform)

Executes the storm.

Declaration
public IEnumerator Execute(Transform emitter)
Parameters
Type Name Description
UnityEngine.Transform emitter
Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX