|
Arbor: State Diagram Editor
2.2.0
|
Class that represents the state More...
Public Member Functions | |
| State (ArborFSMInternal stateMachine, int nodeID, bool resident) | |
| Please use the ArborFSMInternal.CreateState state creating. More... | |
| void | AddBehaviour (StateBehaviour behaviour) |
| Adds the behaviour. More... | |
| StateBehaviour | AddBehaviour (System.Type type) |
| Adds the behaviour. More... | |
| T | AddBehaviour< T > () |
| Adds the behaviour. More... | |
| StateBehaviour | InsertBehaviour (int index, System.Type type) |
| Insert the behaviour. More... | |
| T | InsertBehaviour< T > (int index, System.Type type) |
| Adds the behaviour. More... | |
| StateBehaviour | GetBehaviourFromIndex (int index) |
| Get StateBehavior from index. More... | |
| Object | GetBehaviourObjectFromIndex (int index) |
| Get Object of StateBehavior from index. More... | |
| StateBehaviour | GetBehaviour (System.Type type) |
| Gets the behaviour. More... | |
| T | GetBehaviour< T > () |
| Gets the behaviour. More... | |
| StateBehaviour[] | GetBehaviours (System.Type type) |
| Gets the behaviours. More... | |
| T[] | GetBehaviours< T > () |
| Gets the behaviours. More... | |
| bool | Contains (StateBehaviour behaviour) |
| Whether StateBehaviour are included. More... | |
| void | RemoveBehaviour (Object behaviourObj) |
| I want to remove the StateBehaviour. More... | |
| void | SwapBehaviour (int fromIndex, int toIndex) |
| Swap the order of StateBehaviour. More... | |
| void | MoveBehaviour (int fromIndex, int toIndex) |
| Move the order of StateBehaviour. More... | |
| delegate Object | InstanceIDToObject (int instanceID) |
| For Editor. More... | |
| void | ForceRebuild (InstanceIDToObject instanceIDToObject) |
| For Editor. More... | |
| void | Move (ArborFSMInternal stateMachine) |
| For Editor. More... | |
| void | DisconnectState (int stateID) |
| For internal. More... | |
| void | DestroyBehaviour (Object behaviourObj) |
| void | DestroyBehaviours () |
| For internal. More... | |
| void | DestroySubComponents () |
| For internal. More... | |
| void | SetHideFlags (HideFlags hideFlags) |
| For internal. More... | |
| bool | IsStateMachine (ArborFSMInternal stateMachine) |
| For internal. More... | |
| void | EnableState (bool enable, bool changeState) |
| For internal. More... | |
| void | SendTrigger (string message) |
| Send a trigger message. More... | |
Public Member Functions inherited from Node | |
| Node (ArborFSMInternal stateMachine, int nodeID) | |
Public Attributes | |
| string | name = "New State" |
| The name of the state. More... | |
Public Attributes inherited from Node | |
| Rect | position |
| Position on the Arbor Editor. More... | |
| bool | showComment |
| Whether to display comments More... | |
| string | nodeComment |
| Comment More... | |
Properties | |
| StateBehaviour[] | behaviours [get] |
| int | behaviourCount [get] |
| Get a count of Behavior. More... | |
| int | stateID [get] |
| Gets the state identifier. More... | |
| bool | resident [get] |
| Gets a value indicating whether this State is resident. More... | |
| bool | breakPoint [get, set] |
| int | transitionCount [get, set] |
Properties inherited from Node | |
| ArborFSMInternal | stateMachine [get] |
| Gets the state machine. More... | |
| int | nodeID [get] |
| Gets the node identifier. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Node | |
| ArborFSMInternal | _StateMachine |
| int | _NodeID |
Class that represents the state
| State | ( | ArborFSMInternal | stateMachine, |
| int | nodeID, | ||
| bool | resident | ||
| ) |
Please use the ArborFSMInternal.CreateState state creating.
| void AddBehaviour | ( | StateBehaviour | behaviour | ) |
Adds the behaviour.
| behaviour | Add StateBehaviour |
| StateBehaviour AddBehaviour | ( | System.Type | type | ) |
| T AddBehaviour< T > | ( | ) |
Adds the behaviour.
| T | Type of add StateBehaviour |
| T | : | StateBehaviour |
| bool Contains | ( | StateBehaviour | behaviour | ) |
Whether StateBehaviour are included.
| behaviour | Judges StateBehaviour. |
| void DestroyBehaviour | ( | Object | behaviourObj | ) |
| void DestroyBehaviours | ( | ) |
For internal.
| void DestroySubComponents | ( | ) |
For internal.
| void DisconnectState | ( | int | stateID | ) |
For internal.
| void EnableState | ( | bool | enable, |
| bool | changeState | ||
| ) |
For internal.
| void ForceRebuild | ( | InstanceIDToObject | instanceIDToObject | ) |
For Editor.
| StateBehaviour GetBehaviour | ( | System.Type | type | ) |
Gets the behaviour.
| type | Type of you want to get StateBehaviour. |
| T GetBehaviour< T > | ( | ) |
Gets the behaviour.
| T | Type of you want to get StateBehaviour. |
| T | : | StateBehaviour |
| StateBehaviour GetBehaviourFromIndex | ( | int | index | ) |
| Object GetBehaviourObjectFromIndex | ( | int | index | ) |
Get Object of StateBehavior from index.
| index | Index |
| StateBehaviour [] GetBehaviours | ( | System.Type | type | ) |
Gets the behaviours.
| type | Type of you want to get StateBehaviour. |
| T [] GetBehaviours< T > | ( | ) |
Gets the behaviours.
| T | Type of you want to get StateBehaviour. |
| T | : | StateBehaviour |
| StateBehaviour InsertBehaviour | ( | int | index, |
| System.Type | type | ||
| ) |
Insert the behaviour.
| index | Insertion destination index |
| type | Type of add StateBehaviour |
| T InsertBehaviour< T > | ( | int | index, |
| System.Type | type | ||
| ) |
Adds the behaviour.
| T | Type of insert StateBehaviour |
///
| index | Insertion destination index |
| T | : | StateBehaviour |
| delegate Object InstanceIDToObject | ( | int | instanceID | ) |
For Editor.
| bool IsStateMachine | ( | ArborFSMInternal | stateMachine | ) |
For internal.
| void Move | ( | ArborFSMInternal | stateMachine | ) |
For Editor.
| void MoveBehaviour | ( | int | fromIndex, |
| int | toIndex | ||
| ) |
Move the order of StateBehaviour.
| fromIndex | The moving want index. |
| toIndex | The destination index. |
| void RemoveBehaviour | ( | Object | behaviourObj | ) |
I want to remove the StateBehaviour.
For instance is not deleted, that you use the StateBehaviour.Destroy.
| behaviourObj | StateBehaviour you want to remove. |
| void SendTrigger | ( | string | message | ) |
| void SetHideFlags | ( | HideFlags | hideFlags | ) |
For internal.
| void SwapBehaviour | ( | int | fromIndex, |
| int | toIndex | ||
| ) |
Swap the order of StateBehaviour.
| fromIndex | The swapping want index. |
| toIndex | Exchange destination index. |
| string name = "New State" |
The name of the state.
|
get |
Get a count of Behavior.
|
get |
|
getset |
|
get |
Gets a value indicating whether this State is resident.
|
get |
Gets the state identifier.
|
getset |