def __init__(self, isopen=True, closedface='-', openface='|', name='Door', position=coord.Point(), room=None, teleportpos=coord.Point()): face = openface if isopen else closedface Entity.__init__(self, face, name, position) self.openface = openface self.closedface = closedface self.room = room self.isopen = isopen self.teleportpos = teleportpos
def __init__(self, face='#', name='Wall', position=coord.Point()): """ Instantiates a default wall """ Entity.__init__(self, face, name, position)