Mage.h 287 B

1234567891011121314151617
  1. #pragma once
  2. #pragma once
  3. #include <iostream>
  4. #include <cassert>
  5. #include "unit.h"
  6. class Mage : public Unit {
  7. Mage() = delete;
  8. Mage(std::string id);
  9. ~Mage();
  10. bool canAttackForDistance(int distance);
  11. bool canAttackToCell(Cell* destination);
  12. bool canAttackUnit(Unit* target);
  13. };