Implemented blocking. Made player abilities dynamic instead of fixed for class expansion preparation.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include "olcPixelGameEngine.h"
|
||||
|
||||
struct Ability{
|
||||
std::string name="";
|
||||
float cooldown=0;
|
||||
float COOLDOWN_TIME=0;
|
||||
Pixel barColor1,barColor2;
|
||||
Ability();
|
||||
Ability(std::string name,float cooldownTime,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED);
|
||||
};
|
||||
Reference in New Issue
Block a user