Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(8) | Call(8) | Derive(0) | Import(0)
src/b/3/b3-1.9.2/b3/parsers/moh.py b3(Download)
def rotateMap(self): """Load the next map (not level). If the current game mod plays each level twice to get teams the chance to play both sides, then this rotate a second time to really switch to the next map""" nextIndex = self.getNextMapIndex()
if map not in levelnames: # add the map to the map list nextIndex = self.getNextMapIndex() if nextIndex == -1: self.write(('mapList.append', map))
src/b/i/big-brother-bot-HEAD/b3/parsers/moh.py big-brother-bot(Download)
def rotateMap(self): """Load the next map (not level). If the current game mod plays each level twice to get teams the chance to play both sides, then this rotate a second time to really switch to the next map""" nextIndex = self.getNextMapIndex()
if map not in levelnames: # add the map to the map list nextIndex = self.getNextMapIndex() if nextIndex == -1: self.write(('mapList.append', map))
src/b/3/b3-1.9.2/b3/parsers/bfbc2.py b3(Download)
def rotateMap(self): """Load the next map (not level). If the current game mod plays each level twice to get teams the chance to play both sides, then this rotate a second time to really switch to the next map""" nextIndex = self.getNextMapIndex()
if map not in levelnames: # add the map to the map list nextIndex = self.getNextMapIndex() if nextIndex == -1: self.write(('mapList.append', map))
src/b/i/big-brother-bot-HEAD/b3/parsers/bfbc2.py big-brother-bot(Download)
def rotateMap(self): """Load the next map (not level). If the current game mod plays each level twice to get teams the chance to play both sides, then this rotate a second time to really switch to the next map""" nextIndex = self.getNextMapIndex()
if map not in levelnames: # add the map to the map list nextIndex = self.getNextMapIndex() if nextIndex == -1: self.write(('mapList.append', map))