![]() |
Kerbal Space Program
1.12.4
|
Public Member Functions | |
| void | AddPage (TutorialPage st) |
| Adds the given state as a page on the tutorial. Pages are stored in sequence and stepped through using GoToNextPage. More... | |
| void | AddPages (System.Collections.Generic.List< TutorialPage > st) |
| void | AddState (TutorialPage st) |
| Adds the given state to the FSM, without making it part of the sequence. Pages added with this method can't be reached using GoToNextPage. More... | |
| void | GoToLastPage () |
| void | GoToNextPage () |
| void | StartTutorial (TutorialPage initialPage) |
| void | StartTutorial (string initialPageName) |
Public Member Functions inherited from KerbalFSM | |
| void | AddEvent (KFSMEvent ev, params KFSMState[] toStates) |
| void | AddEventExcluding (KFSMEvent ev, params KFSMState[] excStates) |
| void | AddState (KFSMState st) |
| void | FixedUpdateFSM () |
| KerbalFSM () | |
| void | LateUpdateFSM () |
| void | RunEvent (KFSMEvent evt) |
| void | StartFSM (string initialStateName) |
| void | StartFSM (KFSMState initialState) |
| void | UpdateFSM () |
Public Attributes | |
| TutorialPage | lastPage |
| A reference to the last page accessed on this tutorial. Use when managing multiple special cases to return to the last actual page. More... | |
| List< TutorialPage > | pages = new List<TutorialPage>() |
Public Attributes inherited from KerbalFSM | |
| string | currentStateName |
| bool | DebugBreakOnStateChange |
| string | lastEventName |
| Callback< KFSMEvent > | OnEventCalled = (evt) => { } |
| Called every time a registered event is called (before it does anything). More... | |
| Callback< KFSMState, KFSMState, KFSMEvent > | OnStateChange = (fromSt, toSt, evt) => { } |
| Called every time a registered event causes the FSM to change states More... | |
Additional Inherited Members | |
Protected Member Functions inherited from KerbalFSM | |
| void | updateFSM (KFSMUpdateMode mode) |
Protected Attributes inherited from KerbalFSM | |
| KFSMState | currentState |
| bool | fsmStarted |
| KFSMEvent | lastEvent |
| KFSMState | lastState |
| List< KFSMState > | States |
Properties inherited from KerbalFSM | |
| KFSMState | CurrentState [get] |
| int | FramesInCurrentState [get] |
| KFSMEvent | LastEvent [get] |
| KFSMState | LastState [get] |
| bool | Started [get] |
| double | TimeAtCurrentState [get] |
|
inline |
Adds the given state as a page on the tutorial. Pages are stored in sequence and stepped through using GoToNextPage.
|
inline |
|
inline |
Adds the given state to the FSM, without making it part of the sequence. Pages added with this method can't be reached using GoToNextPage.
|
inline |
|
inline |
|
inline |
|
inline |
| TutorialPage TutorialScenario.TutorialFSM.lastPage |
A reference to the last page accessed on this tutorial. Use when managing multiple special cases to return to the last actual page.
| List<TutorialPage> TutorialScenario.TutorialFSM.pages = new List<TutorialPage>() |
1.8.7