| Home | Trees | Indices | Help |
|---|
|
|
Usage:
import fife.extensions.fife_timer
fife_timer.init( my_fife_engine.getTimeManager() )
def spam():
print "SPAM SPAM ",
repeater = fife_timer.repeatCall(500,spam)
def stop_spam():
repeater.stop()
print "BACON EGGS AND SPAM"
delayed = fife_timer.delayCall(50000,stop_spam)
|
|||
|
Timer Timer |
|||
|
|||
|
|||
| Timer |
|
||
| Timer |
|
||
|
|||
_manager = Nonehash(x) |
|||
|
|||
Initialize timers.
|
Delay a function call by a number of milliseconds. Remember to keep a reference to the timer this function returns. If you do not python will delete the timer prematurely which may case a segfault.
|
Repeat a function call. The call is repeated until the timer is stopped. Remember to keep a reference to the timer this function returns. If you do not python will delete the timer prematurely which may case a segfault.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Feb 10 00:00:30 2012 | http://epydoc.sourceforge.net |