Exemple #1
0
 def draw_down_arrow(self, x_offset, y_offset):
     
     self._canvas.create_polygon(
         *CatanUtils.get_tkinter_coords(self.get_down_arrow_coords()),
         fill="red",
         tag="down_arrow"
     )
Exemple #2
0
	def get_num_dots(self):
		'''Return the number of dots on the token for this hex.'''
		
		if self._n is None:
			return 0
		else:
			return CatanUtils.get_num_token_dots(self._n)