mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Lots of changes done...
Change trace prototypes. Change DCS class prototypes
This commit is contained in:
@@ -11,19 +11,17 @@ NOTASK = {
|
||||
|
||||
--- Creates a new NOTASK.
|
||||
function NOTASK:New()
|
||||
trace.f(self.ClassName)
|
||||
|
||||
-- Child holds the inherited instance of the PICKUPTASK Class to the BASE class.
|
||||
local Child = BASE:Inherit( self, TASK:New() )
|
||||
|
||||
local self = BASE:Inherit( self, TASK:New() )
|
||||
self:F()
|
||||
|
||||
local Valid = true
|
||||
|
||||
if Valid then
|
||||
Child.Name = 'Nothing'
|
||||
Child.TaskBriefing = "Task: Execute your mission."
|
||||
Child.Stages = { STAGEBRIEF:New(), STAGESTART:New(), STAGEDONE:New() }
|
||||
Child.SetStage( Child, 1 )
|
||||
self.Name = 'Nothing'
|
||||
self.TaskBriefing = "Task: Execute your mission."
|
||||
self.Stages = { STAGEBRIEF:New(), STAGESTART:New(), STAGEDONE:New() }
|
||||
self.SetStage( self, 1 )
|
||||
end
|
||||
|
||||
return Child
|
||||
return self
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user