1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#include <cstdlib>
#include <iostream>
#include <map>
#include "class_game_board.h"
#include "class_item.h"
#include "class_player.h"
enum class EQUIPMENT
{
rustySword,
crackedShield,
rustyAxe,
};
const std::map<EQUIPMENT, class_item> loot =
{
{ EQUIPMENT::rustySword, {"Rusty Sword", 2, 2} },
{ EQUIPMENT::crackedShield, {"Cracked Shield", 0, 5} },
{ EQUIPMENT::rustyAxe, {"Rusty Axe", 4, 0} },
};
int main()
{
system("PAUSE");
return EXIT_SUCCESS;
}
|