[Twisted-Python] How to use time-base event in reactor?

sleepd sleeepd at gmail.com
Mon Mar 8 00:36:28 EST 2010


I am developing a online RTS game server, some event a base by time,
example: a buff grant Max HP for 30 seconds, spawn army ever 30 seconds...

I plan to use a timer to manage it, but Twisted are event-driven, how to put
this timer in reactor's loop?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100308/65ac1c85/attachment.htm 


More information about the Twisted-Python mailing list