diff pytouhou/game/laser.py @ 390:b11953cf1d3b

Use only half-size hitboxes for player.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Nov 2012 18:34:24 +0100
parents 690b5faaa0e6
children c9433188ffdb
line wrap: on
line diff
--- a/pytouhou/game/laser.py
+++ b/pytouhou/game/laser.py
@@ -205,7 +205,7 @@ class PlayerLaser(object):
         self.origin = origin
         self.objects = [self]
 
-        self.hitbox_half_size = hitbox[0] / 2., hitbox[1] / 2.
+        self.hitbox = hitbox[0], hitbox[1]
 
         self.frame = 0
         self.duration = duration