The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
397 B
14 lines
397 B
#pragma once
|
|
#include "olcPixelGameEngine.h"
|
|
|
|
//Abilities are tied to class data which is defined in Class.cpp.
|
|
struct Ability{
|
|
std::string name="";
|
|
float cooldown=0;
|
|
float COOLDOWN_TIME=0;
|
|
int manaCost=0;
|
|
Pixel barColor1,barColor2;
|
|
std::function<bool()>action;
|
|
Ability();
|
|
Ability(std::string name,float cooldownTime,int manaCost,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED);
|
|
}; |