Starting to harmonize the new TASK logic with the old DETECTION_DISPATCHER

This commit is contained in:
FlightControl
2016-11-23 18:37:12 +01:00
parent 20dca5088a
commit 35ac87109b
12 changed files with 98 additions and 197 deletions

View File

@@ -201,7 +201,7 @@ do -- PROCESS_ACCOUNT_DEADS
function PROCESS_ACCOUNT_DEADS:_Destructor()
self:E("_Destructor")
self:RemoveEventsAll()
self:EventRemoveAll()
end

View File

@@ -144,12 +144,12 @@ do -- PROCESS_SMOKE_TARGETS_ZONE
ClassName = "PROCESS_SMOKE_TARGETS_ZONE",
}
function PROCESS_SMOKE_TARGETS_ZONE:_Destructor()
self:E("_Destructor")
self.Menu:Remove()
self:EventRemoveAll()
end
-- function PROCESS_SMOKE_TARGETS_ZONE:_Destructor()
-- self:E("_Destructor")
--
-- self.Menu:Remove()
-- self:EventRemoveAll()
-- end
--- Creates a new target smoking state machine. The process will request from the menu if it accepts the task, if not, the unit is removed from the simulator.
-- @param #PROCESS_SMOKE_TARGETS_ZONE self