#pragma once #include #include "Player.h" INCLUDE_DATA struct ClassInfo{ std::string className; std::string classFullImgName; int baseHealth; int baseAtk; float healthGrowthRate; float atkGrowthRate; Ability*ability1; Ability*ability2; Ability*ability3; Ability*rightClickAbility; }; class classutils{ public: static inline Class StringToClass(std::string className){ const std::vector&classList=DATA["class_list"].GetValues(); auto it=std::find(classList.begin(),classList.end(),className); int element=std::distance(classList.begin(),it); return Class(1<