CrashAI

Class TaskManager

[CrashAI] modules/managers.nut:90
Class Hierarchy:
Storage
   KeyLists
      Manager
         TaskManager

Task management

Member Summary
anytick
        local ticker
 constructor()
        Documentation not available.
anyNew(task, looper)
        Insert new task into scheduler actually insert class of task item
anyRun()
        Run the scheduler execute scheduled task by tick
Members inherited from KeyLists
list, Count, AddItem, ChangeItem, RemoveItem, HasItem, SetValue, GetValue, Push, Item, SortValueAscending, Valuate
Members inherited from Storage
_storage, GetStorage, SetStorage


Member Details

tick

[CrashAI] modules/managers.nut:93
tick : any
local ticker


constructor

[CrashAI] modules/managers.nut:95
constructor()
Documentation not available.


New

[CrashAI] modules/managers.nut:108
New(task, looper) : any
Insert new task into scheduler actually insert class of task item
Parameters:
task
Class of TaskItem to insert
looper
In what tick will executed
Returns:
the ID of this task in scheduler


Run

[CrashAI] modules/managers.nut:121
Run() : any
Run the scheduler execute scheduled task by tick