def __init__(self,playerNum):
     var = {
             'weight': 200,
             'gravity': 1.0,
             'maxFallSpeed': 20,
             'maxGroundSpeed': 5,
             'maxAirSpeed': 4,
             'friction': 1.0,
             'airControl': 0.2,
             'jumps': 1,
             'jumpHeight': 8,
             'airJumpHeight':10
             }
     path = os.path.join(os.path.dirname(__file__),"sprites")
     sprite = spriteManager.SpriteHandler(path,"","sandbag",128,{})
     
     abstractFighter.AbstractFighter.__init__(self,
                              playerNum,
                              sprite, #Start Sprite
                              "Sandbag", #Name
                              var) #jumps, jump height, air jump height
     
     self.actions = main.importFromURI(__file__,'sandbag_actions.py')
     
     self.keyBindings = settingsManager.Keybindings({})
     self.current_action = self.actions.NeutralAction()
def getFighter(playerNum,colorNum):
    #The file that contains your implementation of abstractFighter
    fight = main.importFromURI(__file__,'hitboxie.py')
    #The sprites directory
    directory = os.path.join(os.path.dirname(__file__).replace('main.exe',''),"sprites")
    #The prefix that indicates the sprites to be used for this character/costume
    prefix = "hitboxie_"
    #The width of each image in the sheets. This should always be consistent between sprites
    imgwidth = 92
    
    color = getColor(colorNum)
    sprites = spriteManager.SpriteHandler(directory,prefix,"idle",imgwidth,color.colorDict)
    
    return fight.Hitboxie(playerNum,sprites)