Пример #1
0
        // Invoke event;

        protected virtual void DistributeTasks(TaskArgs e)
        {
            if (newTasksEvent != null)
            {
                newTasksEvent(this, e); // trigger the event, if there are any listeners
            }
        }
Пример #2
0
        void newTasksHandler(object sender, TaskArgs e)
        {
            addTasks(e.theTasks);

            //		if (e.storyMode != 0) {
            //
            //			storyMode = e.storyMode;
            //			Debug.Log (me+"storymode "+e.storyMode);
            //
            //		}
        }
Пример #3
0
 void newTasksHandler(object sender, TaskArgs e)
 {
     addTasks(e.theTasks);
 }