diff pytouhou/game/games.py @ 176:80a4c7ed43b3

Add grazing check.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Oct 2011 06:21:38 -0700
parents 37df8c618c2e
children 008f90ebfdc0
line wrap: on
line diff
--- a/pytouhou/game/games.py
+++ b/pytouhou/game/games.py
@@ -42,10 +42,10 @@ class EoSDGame(Game):
 
         player00 = resource_loader.get_anm_wrapper(('player00.anm',))
         player01 = resource_loader.get_anm_wrapper(('player01.anm',))
-        characters = [Character(player00, 4., 2., 2.5),
-                      Character(player00, 4., 2., 2.5),
-                      Character(player01, 5., 2.5, 2.5),
-                      Character(player01, 5., 2.5, 2.5)]
+        characters = [Character(player00, 4., 2., 2.5, 42.),
+                      Character(player00, 4., 2., 2.5, 42.),
+                      Character(player01, 5., 2.5, 2.5, 42.),
+                      Character(player01, 5., 2.5, 2.5, 42.)]
 
         Game.__init__(self, resource_loader, players, stage, rank, difficulty,
                       bullet_types, item_types, characters, nb_bullets_max=640)