def setAttributes():
    if not v.playerClass in v.classAttributes:
        from MenuItems import notImplimented
        notImplimented()
        import gameScreens
        gameScreens.mainMenu()
    v.Attributes = v.classAttributes[v.playerClass]
    if v.playerClass == "Mage":
        v.equipped["Weapon"] = itemClasses.weapon("Magic Orb", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[56], "manaOrb", "Resources/Images/castOrbPurple.png", {"Damage":2, "Knockback": 10, "Cooldown": 60})
    if v.playerClass == "Paladin":
        v.equipped["Weapon"] = itemClasses.weapon("Broken Sword", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[0], "swing", "Resources/Images/Sword_1.png", {"Damage":2, "Knockback": 10, "Cooldown": 30, "AttSpeed": 16})
    if v.playerClass == "Ranger":
        v.equipped["Weapon"] = itemClasses.weapon("Short Bow", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[72], "shoot", "Resources/Images/Arrow.png", {"Damage":2, "Knockback": 10, "Cooldown": 20, "Range": 20})
    if v.playerClass == "Rogue":
        v.equipped["Weapon"] = itemClasses.weapon("Blunt Shruikans", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[35], "shoot", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[35], {"Damage":1, "Knockback": 5, "Cooldown": 10, "Range": 10, "Rotate": True})
    if v.playerClass == "Barbarian":
        v.equipped["Weapon"] = itemClasses.weapon("Small Club", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[48], "swing", "Resources/Images/Club_1.png", {"Damage":3, "Knockback": 15, "Cooldown": 60, "AttSpeed": 10})
    if v.playerClass == "Necromancer":
        v.equipped["Weapon"] = itemClasses.weapon("Necrotic Staff", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[57], "manaOrb", "Resources/Images/castOrbRed.png", {"Damage": 3, "Knockback": 8, "Cooldown": 60})
    if v.playerClass == "Voyant":
        v.equipped["Weapon"] = itemClasses.weapon("Light Caster", entityClasses.SpriteSheet("Resources/Images/WeaponIcons.png", 8, 12).images[41], "manaOrb", "Resources/Images/castOrbCyan.png", {"Damage": 1, "Knockback": 10, "Cooldown": 30, "Orbs": 3})
 def update(self):
     grey = py.Surface((1280, 720)).convert_alpha()
     grey.fill((20, 20, 20, 200))
     v.screen.blit(grey, self.bigRect)
     self.text.update()
     self.buttons.update()
     
     for button in self.buttons:
         if button.pressed():
             id = button.ID
             if id == "mainMenu":
                 gameScreens.mainMenu()
                 continue
             if id == "quit":
                 import SaveLoad
                 SaveLoad.Save()
                 from sys import exit
                 exit()
             if id == "options":
                 gameScreens.options()
             if id == "resume":
                 v.PAUSED = False