示例#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"
     )
示例#2
0
文件: hex.py 项目: boompig/pyCatan
	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)