don't import ClockObject; import PandaModules instead

This commit is contained in:
David Rose 2001-10-23 21:47:34 +00:00
parent 7b695c8ace
commit eaa4da70f9
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
from DirectObject import *
from IntervalGlobal import *
import ClockObject
from PandaModules import *
import Task
# Interval events
@ -18,7 +18,7 @@ class Interval(DirectObject):
playbackCounter = 0
clock = ClockObject.ClockObject.getGlobalClock()
clock = ClockObject.getGlobalClock()
# Class methods
def __init__(self, name, duration, openEnded=1, reverse=0):

View File

@ -1,4 +1,4 @@
import ClockObject
from PandaModules import *
import Task
class Timer:
@ -8,7 +8,7 @@ class Timer:
def __init__(self, name=None):
""" __init__()
"""
self.clock = ClockObject.ClockObject.getGlobalClock()
self.clock = ClockObject.getGlobalClock()
self.finalT = 0.0
self.currT = 0.0
if (name == None):