Mercurial > touhou
view pytouhou/game/game.py @ 51:0707ff53e7b5
Add support for a few instructions
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 22 Aug 2011 22:12:34 +0200 |
parents | 811cefefb5c8 |
children | ab826bc29aa2 |
line wrap: on
line source
from pytouhou.utils.random import Random class GameState(object): __slots__ = ('players', 'rank', 'difficulty', 'frame', 'stage', 'boss', 'prng') def __init__(self, players, stage, rank, difficulty): self.stage = stage self.players = players self.rank = rank self.difficulty = difficulty self.boss = None self.prng = Random() self.frame = 0