|
|
|
@ -8,7 +8,6 @@ |
|
|
|
|
#include "Buff.h" |
|
|
|
|
#include "Pathfinding.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct CastInfo{ |
|
|
|
|
std::string name; |
|
|
|
|
float castTimer; |
|
|
|
@ -164,6 +163,7 @@ struct Warrior:Player{ |
|
|
|
|
Warrior(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only WARRIOR-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
@ -191,6 +191,7 @@ struct Thief:Player{ |
|
|
|
|
Thief(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only THIEF-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
@ -218,6 +219,7 @@ struct Ranger:Player{ |
|
|
|
|
Ranger(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only RANGER-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
@ -245,6 +247,7 @@ struct Trapper:Player{ |
|
|
|
|
Trapper(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only TRAPPER-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
@ -272,6 +275,7 @@ struct Wizard:Player{ |
|
|
|
|
Wizard(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only WIZARD-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
@ -299,6 +303,7 @@ struct Witch:Player{ |
|
|
|
|
Witch(Player*player); |
|
|
|
|
Class GetClass()override; |
|
|
|
|
bool AutoAttack()override; |
|
|
|
|
//Include only WITCHs-specific implementations!
|
|
|
|
|
void OnUpdate(float fElapsedTime)override; |
|
|
|
|
static void InitializeClassAbilities(); |
|
|
|
|
std::string GetClassName()override; |
|
|
|
|