Assemberist / cppRpg

0 stars 0 forks source link

Enum values as menu index #15

Closed Assemberist closed 2 years ago

Assemberist commented 2 years ago

It is not needed to form struct with value and string. Vector of char* can be formed in runtime on base of enum values.

Assemberist commented 2 years ago

Containment of spells is changed also to be in line with menu. Menu element is greatly matched with pair struct (map element).