mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
comments
This commit is contained in:
parent
764aea593e
commit
0e5a871439
@ -19,6 +19,10 @@ class Track(Interval):
|
|||||||
# Class methods
|
# Class methods
|
||||||
def __init__(self, intervalList, name=None):
|
def __init__(self, intervalList, name=None):
|
||||||
"""__init__(intervalList, name)
|
"""__init__(intervalList, name)
|
||||||
|
intervalList: <Interval> |
|
||||||
|
'[' <delay>,
|
||||||
|
<Interval>
|
||||||
|
[ , PREVIOUS_END | PREVIOUS_START | TRACK_START ] ']'
|
||||||
"""
|
"""
|
||||||
# Record instance variables
|
# Record instance variables
|
||||||
self.currentInterval = None
|
self.currentInterval = None
|
||||||
@ -41,7 +45,7 @@ class Track(Interval):
|
|||||||
return self.ilist[item]
|
return self.ilist[item]
|
||||||
|
|
||||||
# Create a list of this track's intervals, recording time
|
# Create a list of this track's intervals, recording time
|
||||||
# and time type (relative to track start, previous start, previous end
|
# and time type (relative to track start, previous start, or previous end)
|
||||||
def __buildIlist(self, intervalList):
|
def __buildIlist(self, intervalList):
|
||||||
self.ilist = []
|
self.ilist = []
|
||||||
for i in intervalList:
|
for i in intervalList:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user