#include<iostream>
#include<string>
#include<vector>
#include"Weapon.h"
#include"Item.h"
#include"Armor.h"
#include"Materia.h"
#include"Accessory.h"
#include"Skill.h"
usingnamespace std;
#pragma once
class Unit
{
public:
Unit(string name);
~Unit();
string getName();
int getLevel();
int getHP();
int getMP();
int getXP();
int getHPMax();
int getMPMax();
int getCurrentXP();
void addXP(int XP);
int getNextXP();
void takeDamage(int damage);
Weapon getWeapon();
void equipWeapon(Weapon weapon);
Armor getArmor();
void equipArmor(Armor armor);
Accessory getAccessory();
void equipAccessorry(Accessory accessory);
void addItem(Item item);
void useItem(Item item);
void useSkill(Skill skill);
int getStrength();
void getStrength(int Strength);
int getDexterity();
int getMagic();
int getVitality();
int getSpirit();
int getLuck();
int getAttack();
float getAttackPercentage();
int getDefense();
float getDefensePercentage();
int MagicAttack();
int MagicDefense();
float getMagicDefensePercentage();
private:
string mName;
int mLevel;
int mHP;
int mMP;
int mXP;
int mHPMax;
int mMPMax;
int mXPMax;
int mCurrentXP;
int mNextXP;
Weapon mweapon;
Armor marmor;
Accessory maccessory;
vector<Item> mItems;
vector<Skill> mSkills;
int mStrength;
int mDexterity;
int mVitality;
int mMagic;
int mSpirit;
int mLuck;
int mAttack;
float mAttackPercentage;
int mDefense;
float mDefensePercentage;
int mMagicAttack;
int mMagicDefense;
float mMagicDefensePercentage;
void levelUp();
};