Mercurial > touhou
diff pytouhou/games/eosd.py @ 492:887de1309491
Add friendly fire in netplay.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 21 Sep 2013 20:26:39 +0200 |
parents | 711c75115675 |
children | 6be9c99a3a24 |
line wrap: on
line diff
--- a/pytouhou/games/eosd.py +++ b/pytouhou/games/eosd.py @@ -82,7 +82,7 @@ class EoSDCommon(object): class EoSDGame(Game): def __init__(self, resource_loader, player_states, stage, rank, difficulty, common, nb_bullets_max=640, width=384, height=448, prng=None, - hints=None): + hints=None, friendly_fire=True): self.etama = common.etama #XXX try: @@ -124,7 +124,7 @@ class EoSDGame(Game): Game.__init__(self, players, stage, rank, difficulty, common.bullet_types, common.laser_types, common.item_types, nb_bullets_max, width, height, prng, - common.interface, hints) + common.interface, hints, friendly_fire)