Beispiel #1
0
 def _paint_tile(self, pixel):
     if ui_cfg.base_style == 1:
         BoardTools.draw_vertical_hexagon(self.canvas, pixel, \
                 self.hex_radius, self._get_base_options())
     elif ui_cfg.base_style == 2:
         BoardTools.draw_rect(self.canvas, pixel, \
                 self.hex_radius, self._get_base_options())