Inform state changes

This commit is contained in:
FlightControl
2016-07-10 14:44:55 +02:00
parent 8a4b40303a
commit 153ff7bd58
12 changed files with 54 additions and 13 deletions

View File

@@ -78,12 +78,15 @@ end
-- @param #string From
-- @param #string To
-- @param Event#EVENTDATA Event
function TASK_SEAD:OnNext( Fsm, Event, From, To, Event )
function TASK_SEAD:OnNext( Fsm, Event, From, To )
self:SetState( self, "State", To )
end
--- @param #TASK_SEAD self
function TASK_SEAD:_Schedule()
self:F2()