Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/r/a/ransack-python-HEAD/MAP/room.py   ransack-python(Download)
                self.setGrid(i, ydim-1, const.EWWALL)
            for i in range(1, ydim-1):
                self.setGrid(0, i, const.NSWALL)
                self.setGrid(xdim-1, i, const.NSWALL)
            self.setGrid(0,0, const.ULWALL)
                           [const.VOID,const.ULWALL,const.LRWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.LLWALL,const.URWALL,const.VOID],
                           [const.ULWALL,const.LRWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.LLWALL,const.URWALL],
                           [const.NSWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.NSWALL],
                           [const.NSWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.NSWALL],
                           [const.NSWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.NSWALL],

src/r/a/ransack-python-HEAD/SCRIPTS/mapScr.py   ransack-python(Download)
             (False, True, True, True)    : const.URWALL,
             (True, False, False, False)  : const.LLWALL,
             (True, False, False, True)   : const.NSWALL,
             (True, False, True, False)   : const.LLWALL,
             (True, False, True, True)    : const.NSWALL,

src/r/a/ransack-python-HEAD/MAP/mapgen.py   ransack-python(Download)
                candidateList += [(i+xpos,ypos)] + [(i+xpos,ypos+ydim-1)]
        for i in range(1,ydim-1):
            if map.getEntry(xpos,i+ypos) == const.NSWALL:
                candidateList += [(xpos,i+ypos)] + [(xpos+xdim-1,i+ypos)]
        cand = choice(candidateList)