#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::functionaction; Ability(); Ability(std::string name,float cooldownTime,int manaCost,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED); };