Class InteractableStateModel
Inheritance
InteractableStateModel
Assembly: cs.temp.dll.dll
public abstract class InteractableStateModel
Constructors
Declaration
public InteractableStateModel()
Declaration
public InteractableStateModel(State defaultState)
Parameters
Type |
Name |
Description |
State |
defaultState |
|
Fields
Declaration
protected State[] allStates
Field Value
Declaration
protected State currentState
Field Value
Declaration
protected List<State> stateList
Field Value
Type |
Description |
List<State> |
|
Methods
Declaration
public abstract State CompareStates()
Returns
Declaration
public virtual State CurrentState()
Returns
Declaration
Returns
Declaration
public State GetState(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Declaration
public abstract State[] GetStates()
Returns
Declaration
public int GetStateValue(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Declaration
public void ImportStates(List<State> states)
Parameters
Type |
Name |
Description |
List<State> |
states |
|
Declaration
public virtual void SetSate(State state)
Parameters
Type |
Name |
Description |
State |
state |
|
Declaration
protected virtual void SetStateListValue(int index, int value)
Parameters
Declaration
public virtual void SetStateOff(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Declaration
public virtual void SetStateOn(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Declaration
public virtual void SetStateValue(int index, int value)
Parameters