diff pytouhou/game/player.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 ac2891afb0bb
children c9433188ffdb
line wrap: on
line diff
--- a/pytouhou/game/player.py
+++ b/pytouhou/game/player.py
@@ -64,9 +64,6 @@ class Player(object):
                        self.sht.horizontal_vertical_focused_speed,
                        self.sht.diagonal_focused_speed)
 
-        self.hitbox_half_size = self.sht.hitbox / 2.
-        self.graze_hitbox_half_size = self.sht.graze_hitbox / 2.
-
         self.fire_time = 0
 
         self.state = state