igorbat99 há 6 anos atrás
pai
commit
ecd9ca323a

BIN
assets/effects/melledamage/icon.png


BIN
assets/effects/selfheal/icon.png


BIN
assets/skills/melledamage/icon.png


BIN
assets/skills/selfheal/icon.png


+ 6 - 0
include/effects/melledamage.h

@@ -4,5 +4,11 @@
 
 #ifndef GAME_CLIENT_MELLEDAMAGE_H
 #define GAME_CLIENT_MELLEDAMAGE_H
+#pragma once
+#include <cassert>
+#include "effect\effect.h"
 
+class melledamage : public Effect {
+
+};
 #endif //GAME_CLIENT_MELLEDAMAGE_H

+ 4 - 12
include/effects/selfheal.h

@@ -2,22 +2,14 @@
 // Created by IgorBat on 23.04.2018.
 //
 
-#ifndef GAME_CLIENT_MELLEDAMAGE_H
-#define GAME_CLIENT_MELLEDAMAGE_H
+#ifndef GAME_CLIENT_SELFHEAL_H
+#define GAME_CLIENT_SELFHEAL_H
 #pragma once
 #include <cassert>
 #include "effect\effect.h"
 
-class melledamage : public Effect {
-    Mage() = delete;
-    Mage(std::string id);
-    ~Mage();
+class selfheal : public Effect {
 
-    bool canAttackForDistance(int distance);
-
-    bool canAttackToCell(Cell* destination);
-
-    bool canAttackUnit(Unit* target);
 };
 
-#endif //GAME_CLIENT_MELLEDAMAGE_H
+#endif //GAME_CLIENT_SELFHEAL_H