diff skaapsteker/physics.py @ 623:65881746dc20

More Sprite hierarchy work.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 07 May 2011 13:59:00 +0200
parents da331c80ec08
children 83569a6b3ad8
line wrap: on
line diff
--- a/skaapsteker/physics.py	Sat May 07 13:42:27 2011 +0200
+++ b/skaapsteker/physics.py	Sat May 07 13:59:00 2011 +0200
@@ -34,8 +34,6 @@
     # set to True to have .update() called once per tick (and have .collision_group set)
     wants_updates = False
 
-    debug_color = (240, 0, 0)
-
     floor = False  # We special case collisions with ground objects
     block = False
 
@@ -54,12 +52,6 @@
     def init_pos(self):
         self._float_pos = self.rect.center
 
-    def get_debug_color(self):
-        return self.debug_color
-
-    def draw_debug(self, surface):
-        pygame.draw.rect(surface, self.get_debug_color(), self.collide_rect, 1)
-
 
     def deltav(self, dv):
         velocity = cadd(self.velocity, dv)