Mercurial > touhou
diff eclviewer.py @ 130:11ab06f4c4c6
Introduce characters!
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 10 Sep 2011 22:48:56 +0200 |
parents | 174324a4da51 |
children | fab7ad2f0d8b |
line wrap: on
line diff
--- a/eclviewer.py +++ b/eclviewer.py @@ -20,14 +20,14 @@ from pytouhou.resource.loader import Loa from pytouhou.game.background import Background from pytouhou.opengl.gamerenderer import GameRenderer from pytouhou.game.games import EoSDGame -from pytouhou.game.player import Player +from pytouhou.game.player import PlayerState def main(path, stage_num): resource_loader = Loader() resource_loader.scan_archives(os.path.join(path, name) for name in ('CM.DAT', 'ST.DAT')) - game = EoSDGame(resource_loader, [Player()], stage_num, 3, 16) + game = EoSDGame(resource_loader, [PlayerState()], stage_num, 3, 16) # Load stage data stage = resource_loader.get_stage('stage%d.std' % stage_num)