Module Process
Global(s)
| PROCESS |
Type PROCESS
| PROCESS:AddScore(Task, State, ScoreText, Score, ProcessStatus) |
Adds a score for the PROCESS to be achieved. |
| PROCESS.ClassName | |
| PROCESS.MissionMenu | |
| PROCESS:New(ProcessName, Task, ProcessUnit, FSMT) |
Instantiates a new TASK Base. |
| PROCESS.NextEvent | |
| PROCESS:OnStateChange(ProcessUnit, Event, From, To) |
StateMachine callback function for a PROCESS |
| PROCESS.ProcessGroup | |
| PROCESS.ProcessName | |
| PROCESS.Scores | |
| PROCESS.Task |
Global(s)
Type Process
Type PROCESS
The PROCESS class
Field(s)
- PROCESS:AddScore(Task, State, ScoreText, Score, ProcessStatus)
-
Adds a score for the PROCESS to be achieved.
Parameters
-
Task#TASK_BASE Task: The task for which the process needs to account score. -
#string State: is the state of the process when the score needs to be given. (See the relevant state descriptions of the process). -
#string ScoreText: is a text describing the score that is given according the status. -
#number Score: is a number providing the score of the status. -
ProcessStatus:
Return value
#PROCESS: self
-
- #string PROCESS.ClassName
- PROCESS:New(ProcessName, Task, ProcessUnit, FSMT)
-
Instantiates a new TASK Base.
Should never be used. Interface Class.
Parameters
-
#string ProcessName: -
Task#TASK_BASE Task: -
Unit#UNIT ProcessUnit: -
FSMT:
Return value
#PROCESS: self
-
- PROCESS:OnStateChange(ProcessUnit, Event, From, To)
-
StateMachine callback function for a PROCESS
Parameters
-
Controllable#CONTROLLABLE ProcessUnit: -
#string Event: -
#string From: -
#string To:
-
- #string PROCESS.ProcessName