1. Player (int hp = 100, int damage = 15, float defence = 0.9, float accuracy = 0.5, std::string name = "player", int coins = 100)
2. Item(char type = 'e', int effect = 0, std::string name = "empty"), 'w'-weapon 'f'-food 'a'-ability 's'-story unit 'e'-empty
3. Enemy(int hp = 50, int damage = 10, std::string name = "enemy")
artemidagre / boxenginem2 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0