def display(cls,screen,screenSize,position,number,ping,rBat,pBat,stats):
     (width,height) = StatsDisplay.teamFont.size(number)
     if stats:
         if position == "NW":
             pos = (20,10)
             screen.blit(BatteryImage.get(rBat),(95,80))
             screen.blit(BatteryImage.get(pBat),(95,110))
             screen.blit(ConnectionImage.get(ping),(20,75))
             temp = StatsDisplay.teamFont.render(number,1,(0,0,255))
         elif position == "NE":
             pos = (screenSize[0]-width-20,10)
             screen.blit(BatteryImage.get(rBat),(screenSize[0]-155,80))
             screen.blit(BatteryImage.get(pBat),(screenSize[0]-155,110))
             screen.blit(ConnectionImage.get(ping),(screenSize[0]-80,75))
             temp = StatsDisplay.teamFont.render(number,1,(255,0,0))
         elif position == "SW":
             screen.blit(BatteryImage.get(rBat),(95,screenSize[1]-140))
             screen.blit(BatteryImage.get(pBat),(95,screenSize[1]-110))
             screen.blit(ConnectionImage.get(ping),(20,screenSize[1]-145))            
             pos = (20, screenSize[1]-height-10)
             temp = StatsDisplay.teamFont.render(number,1,(0,0,255))
         elif position == "SE":
             pos = (screenSize[0]-width-20, screenSize[1]-height-20)
             screen.blit(BatteryImage.get(rBat),(screenSize[0]-155,screenSize[1]-140))
             screen.blit(BatteryImage.get(pBat),(screenSize[0]-155,screenSize[1]-110))
             screen.blit(ConnectionImage.get(ping),(screenSize[0]-80,screenSize[1]-145))
             temp = StatsDisplay.teamFont.render(number,1,(255,0,0))
         else:
             pos = (screenSize[0]-width,screenSize[1]-height)
     else:
         if position == "NW":
             pos = (20,10)
             temp = StatsDisplay.teamFont.render(number,1,(0,0,255))
         elif position == "NE":
             pos = (screenSize[0]-width-20,10)
             temp = StatsDisplay.teamFont.render(number,1,(255,0,0))
         elif position == "SW":
             pos = (20, screenSize[1]-height-10)
             temp = StatsDisplay.teamFont.render(number,1,(0,0,255))
         elif position == "SE":
             pos = (screenSize[0]-width-20, screenSize[1]-height-20)
             temp = StatsDisplay.teamFont.render(number,1,(255,0,0))
         else:
             pos = (screenSize[0]-width,screenSize[1]-height)
         
     screen.blit(temp,pos)
 def init(cls):
     BatteryImage.init()
     ConnectionImage.init()
     StatsDisplay.teamFontSize = 60
     StatsDisplay.teamFont = pygame.font.SysFont('arial', StatsDisplay.teamFontSize, bold=True)