Browse Source

setUponDeath

David Rose 17 years ago
parent
commit
f95217d056
1 changed files with 6 additions and 0 deletions
  1. 6 0
      direct/src/task/TaskOrig.py

+ 6 - 0
direct/src/task/TaskOrig.py

@@ -187,6 +187,12 @@ class Task:
     def setDelay(self, delay):
         self.delayTime = delay
 
+    def getUponDeath(self):
+        return self.uponDeath
+
+    def setUponDeath(self, uponDeath):
+        self.uponDeath = uponDeath
+
     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