view pytouhou/game/game.py @ 49:cbe1cb50f2fd

Refactor ECLRunner/EnemyManager so that all VM stuff goes to ECLRunner
author Thibaut Girka <thib@sitedethib.com>
date Mon, 22 Aug 2011 19:23:00 +0200
parents
children 811cefefb5c8
line wrap: on
line source

class GameState(object):
    __slots__ = ('players', 'rank', 'difficulty', 'frame', 'stage', 'boss')
    def __init__(self, players, stage, rank, difficulty):
        self.stage = stage
        self.players = players
        self.rank = rank
        self.difficulty = difficulty
        self.boss = None
        self.frame = 0