def __init__(self, x, y, type, id, p_die, p_restart): """ Constructor needs a type, coordinates in the maze and an id """ Cell.__init__(self, x, y, type, id, "R") self.p_die = p_die self.p_restart = p_restart
def __init__(self, x, y, type, id): """ Constructor """ Cell.__init__(self, x, y, type, id, "C")
def __init__(self, x, y, type, id, p_enemy): """ Constructor """ Cell.__init__(self, x, y, type, id, "E") self.p_enemy = p_enemy
def __init__(self, x, y, type, id): """ Constructor needs a type, coordinates in the maze and an id """ Cell.__init__(self, x, y, type, id, "#")