|
@@ -2,22 +2,14 @@
|
|
// Created by IgorBat on 23.04.2018.
|
|
// 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
|
|
#pragma once
|
|
#include <cassert>
|
|
#include <cassert>
|
|
#include "effect\effect.h"
|
|
#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
|