Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

createAndAddStageTask

Description

Creates and adds a task to the given stage.

Arguments

1 project project

the project to add to.

2 string taskTypeID

the ID of the registered taskTypeData.

3 number stage

the stage to insert the task to.

4 string taskID

the task type to create. (ie. "game_task", "engine_task", "project_task", etc.). Will default to the type specified on the taskTypeData if none is given.

Returns

1 task

the newly created task object.