Files
ASCII-G/include/item.h

18 lines
255 B
C++

#pragma once
#include <string>
enum class ItemType {
Potion,
Weapon,
Unknown
};
struct Item {
int id = 0;
std::string name;
std::string description;
ItemType type = ItemType::Unknown;
int heal = 0;
int damage = 0;
};