def draw(self, gameStateObj, metaDataObj): mapSurf = StateMachine.State.draw(self, gameStateObj, metaDataObj) mapSurf.blit(GC.IMAGESDICT['DebugBackground'], (0, GC.WINHEIGHT - (5 * 16))) for idx, command in enumerate(reversed(commands[-self.num_back:])): # GC.FONT['text_blue'].blit(command, mapSurf, (0, GC.WINHEIGHT - idx * 16 - 32)) MenuFunctions.OutlineFont(GC.BASICFONT, command, mapSurf, GC.COLORDICT['off_white'], GC.COLORDICT['off_black'], (0, GC.WINHEIGHT - idx * 16 - 32)) # GC.FONT['text_blue'].blit(self.current_command, mapSurf, (0, GC.WINHEIGHT - 16)) MenuFunctions.OutlineFont(GC.BASICFONT, self.current_command, mapSurf, GC.COLORDICT['off_white'], GC.COLORDICT['off_black'], (0, GC.WINHEIGHT - 16)) return mapSurf