diff options
Diffstat (limited to 'Framework/Core/Event.py')
-rwxr-xr-x | Framework/Core/Event.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Framework/Core/Event.py b/Framework/Core/Event.py deleted file mode 100755 index 123a740..0000000 --- a/Framework/Core/Event.py +++ /dev/null @@ -1,22 +0,0 @@ -#---------------------------------------------------------------------- -# A base class for things that can be played at a given instant -# An onset < 0 implies the Event should be played immediately -#---------------------------------------------------------------------- -class Event: - #----------------------------------- - # initialization - #----------------------------------- - def __init__( self, onset ): - self.onset = onset - - #----------------------------------- - # playback (must be implemented by subclasses) - #----------------------------------- - def play( self ): - raise NotImplementedError - - #----------------------------------- - # adjustment - #----------------------------------- - def adjustOnset( self, amount ): - self.onset += amount |