caves.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:caves 作者: mikaelho 项目源码 文件源码
def __init__(self, control, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.control = control
    self.multiplier = 1.0
    #self.iv = ui.ImageView(args, **kwargs)
    #self.filename = ''
    self.bg_filename = None # Default is caves.jpg
    #self.add_subview(self.iv)
    self.alpha = 0.9
    self.digging = True
    self.flood_filling = False
    self.touch_start = None
    self.target_size = (self.width, self.height)
    self.dragging_waypoint = False
    self.last_img = None
    self.waypoints = []
    self.history_capacity = 10
    self.fill()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号