meleedamage.cpp 424 B

123456789101112131415161718
  1. //
  2. // Created by IgorBat on 23.04.2018.
  3. //
  4. #include <cassert>
  5. #include "effects\meleedamage.h"
  6. #include "units\unit.h"
  7. #include <string>
  8. void MeleeDamage::OperateOnCell(Cell* cell){
  9. throw std :: string("CAN'T TOUCH THIS");
  10. }
  11. void MeleeDamage::OperateOnUnit(Unit* unit){
  12. //int temp = unit -> reduceIncomingDamage("p", count_);
  13. //unit ->setHealthPoints(unit -> getHealthPoints() - temp);
  14. //check_on_death
  15. }