comparison pytouhou/vm/msgrunner.py @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents e35a083d4208
children d18c0bf11138
comparison
equal deleted inserted replaced
589:0768122da817 590:e15672733c93
19 from pytouhou.game import NextStage 19 from pytouhou.game import NextStage
20 20
21 logger = get_logger(__name__) 21 logger = get_logger(__name__)
22 22
23 23
24 class MSGRunner(object): 24 class MSGRunner(metaclass=MetaRegistry):
25 __metaclass__ = MetaRegistry
26 __slots__ = ('_msg', '_game', 'frame', 'sleep_time', 'allow_skip', 25 __slots__ = ('_msg', '_game', 'frame', 'sleep_time', 'allow_skip',
27 'skipping', 'frozen', 'ended', 'instruction_pointer', 26 'skipping', 'frozen', 'ended', 'instruction_pointer',
28 'handlers') 27 'handlers')
29 28
30 def __init__(self, msg, script, game): 29 def __init__(self, msg, script, game):