selfhealspell.cpp 291 B

1234567891011121314
  1. //
  2. // Created by IgorBat on 23.04.2018.
  3. //
  4. #pragma once
  5. #include <cassert>
  6. #include "spells/selfhealspell.h"
  7. #include "units/unit.h"
  8. #include "cell.h"
  9. #include <string>
  10. void SelfHealSpell::CastSpell(Cell* from, Cell* where, Unit* who, Unit* whom){
  11. effects_[0] -> OperateOnUnit(who);
  12. }