Cleaned up some of the sgf code and refactored it to make move navigation easier when we get to it

This commit is contained in:
2012-04-25 12:15:41 -04:00
parent 8e573f1a86
commit 3625cb3804
2 changed files with 53 additions and 14 deletions

View File

@ -169,6 +169,8 @@ class GoGame(gtk.HBox):
code = 'bH'
elif self.goban.to_move == goban.Goban.WHITE:
code = 'wH'
else:
continue
base_img = GoGame.img_res[code]
img = base_img.scale_simple(inc, inc, gtk.gdk.INTERP_BILINEAR)