03-11-2014, 06:07 AM
cTask is an interface class. When you want to use it, you declare a new class that derives from it, and overrides its Execute method. Then you create a new instance of that class on the heap (new cMyTask(...)) and pass that to cWorld::ScheduleTask()