diff options
author | Russell <rcoh@mit.edu> | 2011-08-24 16:45:53 -0700 |
---|---|---|
committer | Russell <rcoh@mit.edu> | 2011-08-24 16:45:53 -0700 |
commit | 128119fed4b5fb815d1687ee7d5a99552ab4346c (patch) | |
tree | fd93a2ab63f4f16dcc8977d5b468802627944a7c | |
parent | 549a21d8c5c0292602853be37491efefa867d790 (diff) |
fixed typo, indentation.
-rw-r--r-- | renderer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/renderer.py b/renderer.py index ca36b6f..fb6df7d 100644 --- a/renderer.py +++ b/renderer.py @@ -33,7 +33,7 @@ class PygameRenderer(Renderer): def render_game(self, game_board): for (x,y) in game_board: pygame.draw.circle(self.background, self.color_deref(game_board[(x,y)]), - (self.OFFSET[0] + x*self.SCALE, self.OFFSET[1] + y*self.SCALE), self.SCALE) + (self.OFFSET[0] + x*self.SCALE, self.OFFSET[1] + y*self.SCALE), self.SCALE) self.screen.blit(self.background, (0,0)) pygame.display.flip() @@ -64,4 +64,4 @@ class LedRenderer(Renderer): Performs the mapping between a game_board and a list of (port,packet) pairs. The port,packet pairs should line up with the ip's in IP_ADDRESSES """ - #TODO(rcoh): Right this when we decide on a layout + #TODO(rcoh): Write this when we decide on a layout |