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(xdim-1, i, const.NSWALL)
            self.setGrid(0,0, const.ULWALL)
            self.setGrid(xdim-1,0, const.URWALL)
            self.setGrid(0,ydim-1, const.LLWALL)
            self.setGrid(xdim-1,ydim-1, const.LRWALL)
            self.ydim = 9
            self.grid = [range(self.xdim) for _ in range(self.ydim)]
            layout = [ [const.VOID,const.VOID,const.ULWALL,const.EWWALL,const.EWWALL,const.EWWALL,const.URWALL,const.VOID,const.VOID],
                           [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],
                           [const.LLWALL,const.URWALL,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.DFLOOR1,const.ULWALL,const.LRWALL],

src/r/a/ransack-python-HEAD/MAP/mapgen.py   ransack-python(Download)
                (x2,y2) = dirDict[dir]
                if dir == 'n':
                    self.map.setEntry( x1+x2-1, y1+y2, const.URWALL)
                    self.map.setEntry( x1+x2+1, y1+y2, const.ULWALL)
                elif dir == 's':
                    self.map.setEntry( x1+x2-1, y1+y2, const.LRWALL)
                    self.map.setEntry( x1+x2+1, y1+y2, const.LLWALL)
                elif dir == 'e':
                    self.map.setEntry( x1+x2, y1+y2-1, const.LRWALL)
                    self.map.setEntry( x1+x2, y1+y2+1, const.URWALL)

src/r/a/ransack-python-HEAD/SCRIPTS/mapScr.py   ransack-python(Download)
             (False, False, True, True)   : const.ULWALL, # UL
             (False, True, False, False)  : const.LRWALL, # LR
             (False, True, False, True)   : const.URWALL, # UR
             (False, True, True, False)   : const.EWWALL,
             (False, True, True, True)    : const.URWALL,
             (True, False, True, True)    : const.NSWALL,
             (True, True, False, False)   : const.LRWALL,
             (True, True, False, True)    : const.URWALL,
             (True, True, True, False)    : const.EWWALL,
             (True, True, True, True) : 28,