parent
e090bc775d
commit
21368f6f95
@ -0,0 +1,46 @@ |
||||
#include "Class.h" |
||||
|
||||
std::map<Class,ClassData>CLASS_DATA={ |
||||
{WARRIOR,{ |
||||
"Warrior",WARRIOR, |
||||
{"Block",15,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"Battlecry",12}, |
||||
{"Ground Slam",15}, |
||||
{"Sonic Slash",40} |
||||
}}, |
||||
{THIEF,{ |
||||
"Thief",THIEF, |
||||
{"???",15,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"???",12}, |
||||
{"???",15}, |
||||
{"???",40} |
||||
}}, |
||||
{RANGER,{ |
||||
"Ranger",RANGER, |
||||
{"Retreat",7,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"Rapid Fire",12}, |
||||
{"Charged Shot",15}, |
||||
{"Multishot",25} |
||||
}}, |
||||
{BARD,{ |
||||
"Bard",BARD, |
||||
{"???",7,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"???",12}, |
||||
{"???",15}, |
||||
{"???",25} |
||||
}}, |
||||
{WIZARD,{ |
||||
"Wizard",WIZARD, |
||||
{"Teleport",8,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"Firebolt",6}, |
||||
{"Lightning Bolt",6}, |
||||
{"Meteor",40} |
||||
}}, |
||||
{WITCH,{ |
||||
"Witch",WITCH, |
||||
{"???",8,VERY_DARK_BLUE,DARK_BLUE}, |
||||
{"???",6}, |
||||
{"???",6}, |
||||
{"???",40} |
||||
}}, |
||||
}; |
@ -0,0 +1,12 @@ |
||||
#pragma once |
||||
#include "Ability.h" |
||||
#include "olcPixelGameEngine.h" |
||||
|
||||
enum Class{ |
||||
WARRIOR,THIEF,RANGER,BARD,WIZARD,WITCH |
||||
}; |
||||
struct ClassData{ |
||||
std::string name; |
||||
Class cl; |
||||
Ability rightClickAbility,ability1,ability2,ability3; |
||||
}; |
Loading…
Reference in new issue