<reponame>tmaiello/rotmg-damage-calc
__author__ = "<NAME>"

# Character class to create character objects with stats
# Will have character stat manager to manage base stats plus pots (default maxed)
class Character:
    # unfortunately, "def" is a keyword :)
    # slots are objects of items which contain active stats
    def __init__(self, life, mana, att, defense, spd, dex, vit, wis, slot_1, slot_2, slot_3, slot_4):
        self._life = life
        self._mana = mana
        self._att = att
        self._defense = defense
        self._spd = spd
        self._dex = dex
        self._vit = vit
        self._wis = wis
        self._slot_1 = slot_1
        self._slot_2 = slot_2
        self._slot_3 = slot_3
        self._slot_4 = slot_4
    
    @property
    def life(self):
        return self._life
    
    @property
    def mana(self):
        return self._mana

    @property
    def att(self):
        return self._att
    
    @property
    def defense(self):
        return self._defense

    @property
    def spd(self):
        return self._spd

    @property
    def dex(self):
        return self._dex

    @property
    def vit(self):
        return self._vit

    @property
    def wis(self):
        return self._wis

    @property
    def slot_1(self):
        return self._slot_1
        
    @property
    def slot_2(self):
        return self._slot_2

    @property
    def slot_3(self):
        return self._slot_3

    @property
    def slot_4(self):
        return self._slot_4

    @life.setter
    def life(self, life):
        self._life = life

    @mana.setter
    def mana(self, mana):
        self._mana = mana

    @att.setter
    def att(self, att):
        self._att = att
        
    @defense.setter
    def defense(self, defense):
        self._defense = defense

    @spd.setter
    def spd(self, spd):
        self._spd = spd

    @dex.setter
    def dex(self, dex):
        self._dex = dex

    @vit.setter
    def vit(self, vit):
        self._vit = vit

    @wis.setter
    def wis(self, wis):
        self._wis = wis

    @slot_1.setter
    def slot_1(self, slot_1):
        self._slot_1 = slot_1

    @slot_2.setter
    def slot_2(self, slot_2):
        self._slot_2 = slot_2

    @slot_3.setter
    def slot_3(self, slot_3):
        self._slot_3 = slot_3

    @slot_4.setter
    def slot_4(self, slot_4):
        self._slot_4 = slot_4
__author__ = "<NAME>"

# Character class to create character objects with stats
# Will have character stat manager to manage base stats plus pots (default maxed)
class Character:
    # unfortunately, "def" is a keyword :)
    # slots are objects of items which contain active stats
    def __init__(self, life, mana, att, defense, spd, dex, vit, wis, slot_1, slot_2, slot_3, slot_4):
        self._life = life
        self._mana = mana
        self._att = att
        self._defense = defense
        self._spd = spd
        self._dex = dex
        self._vit = vit
        self._wis = wis
        self._slot_1 = slot_1
        self._slot_2 = slot_2
        self._slot_3 = slot_3
        self._slot_4 = slot_4
    
    @property
    def life(self):
        return self._life
    
    @property
    def mana(self):
        return self._mana

    @property
    def att(self):
        return self._att
    
    @property
    def defense(self):
        return self._defense

    @property
    def spd(self):
        return self._spd

    @property
    def dex(self):
        return self._dex

    @property
    def vit(self):
        return self._vit

    @property
    def wis(self):
        return self._wis

    @property
    def slot_1(self):
        return self._slot_1
        
    @property
    def slot_2(self):
        return self._slot_2

    @property
    def slot_3(self):
        return self._slot_3

    @property
    def slot_4(self):
        return self._slot_4

    @life.setter
    def life(self, life):
        self._life = life

    @mana.setter
    def mana(self, mana):
        self._mana = mana

    @att.setter
    def att(self, att):
        self._att = att
        
    @defense.setter
    def defense(self, defense):
        self._defense = defense

    @spd.setter
    def spd(self, spd):
        self._spd = spd

    @dex.setter
    def dex(self, dex):
        self._dex = dex

    @vit.setter
    def vit(self, vit):
        self._vit = vit

    @wis.setter
    def wis(self, wis):
        self._wis = wis

    @slot_1.setter
    def slot_1(self, slot_1):
        self._slot_1 = slot_1

    @slot_2.setter
    def slot_2(self, slot_2):
        self._slot_2 = slot_2

    @slot_3.setter
    def slot_3(self, slot_3):
        self._slot_3 = slot_3

    @slot_4.setter
    def slot_4(self, slot_4):
        self._slot_4 = slot_4
# Character class to create character objects with stats # Will have character stat manager to manage base stats plus pots (default maxed) # unfortunately, "def" is a keyword :) # slots are objects of items which contain active stats