effect.h 559 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Created by IgorBat on 17.03.2018.
  3. //
  4. #ifndef THE_GAME_EFFECT_H
  5. #define THE_GAME_EFFECT_H
  6. #pragma once
  7. #include <iostream>
  8. #include <vector>
  9. //#include "AbstractFactory.h"
  10. enum typeEffect{damage, strength};
  11. class Effect {
  12. private:
  13. int count_;
  14. typeEffect typeEffect_;
  15. public:
  16. Effect() = delete;
  17. Effect(std::string path) {
  18. }
  19. virtual ~Effect() = delete;
  20. int getCount();
  21. void setCount(int value);
  22. typeEffect getType();
  23. void setType(typeEffect value);
  24. };
  25. #endif //THE_GAME_EFFECT_H