Class PrototypeState
Provides a general implementation of the IState
interface that uses actions.
Inheritance
System.Object
PrototypeState
Implements
Namespace: AlchemyBow.Core.States.Prototyping
Assembly: AlchemyBow.Core.dll
Syntax
public class PrototypeState : IState
Constructors
PrototypeState(Action, Action)
Creates a generic state.
Declaration
public PrototypeState(Action enterCallback, Action exitCallback)
Parameters
Type | Name | Description |
---|---|---|
System.Action | enterCallback | The callback to invoke on |
System.Action | exitCallback | The callback to invoke on |
Methods
Enter()
Activates the state.
Declaration
public void Enter()
Exit()
Deactivates the state.
Declaration
public void Exit()