mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
setUponDeath
This commit is contained in:
parent
4139466fc9
commit
f95217d056
@ -187,6 +187,12 @@ class Task:
|
|||||||
def setDelay(self, delay):
|
def setDelay(self, delay):
|
||||||
self.delayTime = delay
|
self.delayTime = delay
|
||||||
|
|
||||||
|
def getUponDeath(self):
|
||||||
|
return self.uponDeath
|
||||||
|
|
||||||
|
def setUponDeath(self, uponDeath):
|
||||||
|
self.uponDeath = uponDeath
|
||||||
|
|
||||||
def recalcWakeTime(self):
|
def recalcWakeTime(self):
|
||||||
"""If the task is currently sleeping, this resets its wake
|
"""If the task is currently sleeping, this resets its wake
|
||||||
time to the current time + self.delayTime. It is as if the
|
time to the current time + self.delayTime. It is as if the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user