# Task

from direct.task.TaskOrig import Task

## Inheritance:

Task:

## Methods of Task:

__init__
__repr__
finishTask
getDelay
getName
getNamePrefix
getPriority
getSort
getUponDeath
isAlive
isRemoved
recalcWakeTime
remove
setCurrentTimeFrame
setDelay
setName
setPriority
setSort
setStartTimeFrame
setUponDeath
setupPStats

__init__ def __init__(self, callback, sort=0) Undocumented function.

__repr__ def __repr__(self) Undocumented function.

finishTask def finishTask(self) Undocumented function.

getDelay def getDelay(self) Undocumented function.

getName def getName(self) Undocumented function.

getNamePrefix def getNamePrefix(self) Undocumented function.

getPriority def getPriority(self) Undocumented function.

getSort def getSort(self) Undocumented function.

getUponDeath def getUponDeath(self) Undocumented function.

isAlive def isAlive(self) Returns true if the task is alive; that is, it has never been removed and it has not finished. This method may inaccurately return true before the task has been initially added to the task manager.

isRemoved def isRemoved(self) Undocumented function.

recalcWakeTime def recalcWakeTime(self) If the task is currently sleeping, this resets its wake time to the current time + self.delayTime. It is as if the task had suddenly returned task.again. The task will sleep for its current delay seconds before running again. This method may therefore be used to make the task wake up sooner or later than it would have otherwise. If the task is not already sleeping, this method has no effect.

remove def remove(self) Undocumented function.

setCurrentTimeFrame def setCurrentTimeFrame(self, currentTime, currentFrame) Undocumented function.

setDelay def setDelay(self, delay) Undocumented function.

setName def setName(self, name) Undocumented function.

setPriority def setPriority(self, pri) Undocumented function.

setSort def setSort(self, pri) Undocumented function.

setStartTimeFrame def setStartTimeFrame(self, startTime, startFrame) Undocumented function.

setUponDeath def setUponDeath(self, uponDeath) Undocumented function.

setupPStats def setupPStats(self) Undocumented function.