This commit is contained in:
Sven Van de Velde
2016-08-08 11:16:50 +02:00
parent 152accb93d
commit df90955347
11 changed files with 418 additions and 298 deletions

View File

@@ -67,6 +67,13 @@ function STATEMACHINE:New( options )
return self
end
function STATEMACHINE:LoadCallBacks( CallBackTable )
for name, callback in pairs( CallBackTable or {} ) do
self[name] = callback
end
end
function STATEMACHINE:_submap( subs, sub, name )
self:E( { sub = sub, name = name } )