• Manual
  • Scripting API
  • Changelog
  • License
Show / Hide Table of Contents
  • AlchemyBow.Core
    • CoreController<TProjectContext>
    • CoreProjectContext
    • ICoreLoadable
    • ICoreLoadingCallbacksHandler
    • LoadablesProgress
    • OperationHandle
  • AlchemyBow.Core.Editor.Utilities
    • CoreEditorUtility
    • IndentStringBuilder
  • AlchemyBow.Core.Editor.Windows
    • CoreManagementWindow
  • AlchemyBow.Core.Editor.Wizards
    • CoreControllerScriptWizard
    • CoreProjectContextPrefabWizard
    • CoreProjectContextScriptWizard
    • CoreQuickStartWizard
    • ValidationMessageList
    • WizardValidationUtility
    • WizardWindow
  • AlchemyBow.Core.Extras.Behaviours
    • CoreBehaviour
    • CoreBehaviourEnablingStrategy
  • AlchemyBow.Core.Extras.FluentBindings
    • ContainerFluentExtensions
    • FluentBinding
  • AlchemyBow.Core.Extras.Installers
    • ChildrenCompositeMonoInstaller
    • UnityObjectMonoInstaller
  • AlchemyBow.Core.IoC
    • Container
    • DynamicCollectionBindingUtility
    • DynamicInjector<T>
    • IBindOnlyContainer
    • InjectAttribute
    • InjectionTargetAttribute
    • MonoInstaller
  • AlchemyBow.Core.IoC.Elements
    • DynamicInjectorBase
    • InjectionInfo
    • ReflectionFieldsSetter
  • AlchemyBow.Core.States
    • ICondition
    • IState
    • StateGraph
    • StateGraphComposer
  • AlchemyBow.Core.States.Elements
    • StateGraphLink
  • AlchemyBow.Core.States.Prototyping
    • PrototypeCondition
    • PrototypeState

Class StateGraph

Represents a nested directed graph designed to work with states (HFSM - Hierarchical Finite State Machine).

Inheritance
object
StateGraph
Namespace: AlchemyBow.Core.States
Assembly: AlchemyBow.Core.dll
Syntax
public sealed class StateGraph

Methods

Build(StateGraphComposer)

Builds a node of the state graph.

Declaration
public static StateGraph Build(StateGraphComposer composer)
Parameters
Type Name Description
StateGraphComposer composer

The description of the node.

Returns
Type Description
StateGraph

The built node.

Remarks

The composer is not automatically validated.

Enter()

Enters the state.

Declaration
public void Enter()

EnumerateDown(Action<IState>, bool)

Invokes the specified action on the active (nested) states (starting from the root).

Declaration
public void EnumerateDown(Action<IState> action, bool ignoreNulls)
Parameters
Type Name Description
Action<IState> action

The action to invoke on the states.

bool ignoreNulls

Only invokes the action on the non-null states if true.

Exit()

Exits the state.

Declaration
public void Exit()
In this article
Back to top Copyright © 2022-2024 AlchemyBow | Generated by DocFX