2023-06-17 21:19:08 -05:00
|
|
|
#pragma once
|
|
|
|
#include "olcPixelGameEngine.h"
|
|
|
|
|
2023-06-19 04:03:04 -05:00
|
|
|
//Abilities are tied to class data which is defined in Class.cpp.
|
2023-06-17 21:19:08 -05:00
|
|
|
struct Ability{
|
|
|
|
std::string name="";
|
|
|
|
float cooldown=0;
|
|
|
|
float COOLDOWN_TIME=0;
|
2023-06-19 04:03:04 -05:00
|
|
|
int manaCost=0;
|
2023-06-17 21:19:08 -05:00
|
|
|
Pixel barColor1,barColor2;
|
|
|
|
Ability();
|
2023-06-19 04:03:04 -05:00
|
|
|
Ability(std::string name,float cooldownTime,int manaCost,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED);
|
2023-06-17 21:19:08 -05:00
|
|
|
};
|