Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Framework/Core/Event.py
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/Core/Event.py')
-rwxr-xr-xFramework/Core/Event.py22
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