def __init__(self, mainloop, speaker, config, screen_w, screen_h): if mainloop.lang.lang == "el": self.level = lc.Level(self, mainloop, 2, 16) elif mainloop.lang.lang == "fr": self.level = lc.Level(self, mainloop, 2, 28) else: self.level = lc.Level(self, mainloop, 3, 28) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 11, 9)
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self, mainloop, 1, 1) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 11, 9) self.max_size = 99 self.board.draw_grid = False
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.lvlc = mainloop.xml_conn.get_level_count( mainloop.m.game_dbid, mainloop.config.user_age_group) self.level = lc.Level(self, mainloop, self.lvlc[0], self.lvlc[1]) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 11, 9) self.max_size = 99
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self,mainloop,1,1) self.badge_count = mainloop.db.get_completion_count(mainloop.userid) self.pages_total = int(math.ceil(self.badge_count / 10.0)) if self.pages_total == 0: self.pages_total = 1 self.current_page = 1 gd.BoardGame.__init__(self,mainloop,speaker,config,screen_w,screen_h,11,10)
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self, mainloop, 15, 3) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 15, 10)
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self, mainloop, 99, 2) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 11, 9) self.max_size = 99
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self, mainloop, 1, 2) gd.BoardGame.__init__(self, mainloop, speaker, config, screen_w, screen_h, 11, 9) self.max_size = 99 self.history_capacity = 25
def __init__(self, mainloop, speaker, config, screen_w, screen_h): self.level = lc.Level(self,mainloop,36,22) gd.BoardGame.__init__(self,mainloop,speaker,config,screen_w,screen_h,23,14)