Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class UserToolsStateMachineBase

    Inheritance
    object
    SmState
    SmStateMachine
    UserToolsStateMachineBase
    Implements
    ISmState
    IStateMachine
    IDisposable
    Inherited Members
    SmStateMachine.States
    SmStateMachine.SortedStates
    SmStateMachine.CurrentState
    SmStateMachine.AddState<TState>(TState)
    SmStateMachine.SwitchState<TState>()
    SmStateMachine.SwitchState<TState, TContext>(TContext)
    SmStateMachine.SwitchState(int)
    SmStateMachine.SwitchState<TState, TContext>(TState, TContext)
    SmStateMachine.SwitchState(ISmState)
    SmStateMachine.GetState<TState>(Type)
    SmStateMachine.GetState(int)
    SmStateMachine.GetState(Type)
    SmStateMachine.Tick()
    SmStateMachine.PrepareToRun()
    SmStateMachine.PrepareToStop()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Fwt.HexTerrains.TerrainEditors.StateMachines
    Assembly: fwt.hexterrains.dll
    Syntax
    public abstract class UserToolsStateMachineBase : SmStateMachine, ISmState, IStateMachine, IDisposable

    Constructors

    UserToolsStateMachineBase(IHexTerrainAPI)

    Declaration
    public UserToolsStateMachineBase(IHexTerrainAPI userToolAPI)
    Parameters
    Type Name Description
    IHexTerrainAPI userToolAPI

    Fields

    StatesByType

    Declaration
    protected Dictionary<int, UserToolStateBase> StatesByType
    Field Value
    Type Description
    Dictionary<int, UserToolStateBase>

    Properties

    UserToolAPI

    Declaration
    public IHexTerrainAPI UserToolAPI { get; set; }
    Property Value
    Type Description
    IHexTerrainAPI

    Methods

    AddState(ISmState)

    Declaration
    public override void AddState(ISmState state)
    Parameters
    Type Name Description
    ISmState state
    Overrides
    SmStateMachine.AddState(ISmState)

    Dispose()

    Declaration
    public void Dispose()

    GetStateByUserToolType(int)

    Declaration
    public UserToolStateBase GetStateByUserToolType(int userToolType)
    Parameters
    Type Name Description
    int userToolType
    Returns
    Type Description
    UserToolStateBase

    GetState<TState>(int)

    Declaration
    public TState GetState<TState>(int userToolType) where TState : UserToolStateBase
    Parameters
    Type Name Description
    int userToolType
    Returns
    Type Description
    TState
    Type Parameters
    Name Description
    TState

    SwitchStateByUserToolType(int)

    Declaration
    public UserToolStateBase SwitchStateByUserToolType(int userToolType)
    Parameters
    Type Name Description
    int userToolType
    Returns
    Type Description
    UserToolStateBase

    SwitchState<TState>(int)

    Declaration
    public TState SwitchState<TState>(int userToolType) where TState : UserToolStateBase
    Parameters
    Type Name Description
    int userToolType
    Returns
    Type Description
    TState
    Type Parameters
    Name Description
    TState

    Implements

    ISmState
    IStateMachine
    IDisposable

    Extension Methods

    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX