Example #1
0
    def __init__(self, w, h, state):

        self.state = state
        BaseMap.__init__(self, w, h)
        self.tiles = {}
        self.needs_update = True
        self.edges = {}
        self.edge_tile_map = BorderEdgeTileMap(self)
    def __init__(self, w, h, moisture_map):

        BaseMap.__init__(self, w, h)
        self.moisture_map = moisture_map
Example #3
0
    def __init__(self, w, h, river):

        self.river = river
        BaseMap.__init__(self, w, h)