You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
416 B

4 years ago
  1. #ifndef SPELL_WARZ_SPELL_CPP
  2. #define SPELL_WARZ_SPELL_CPP 1
  3. #include <vector>
  4. class Spell
  5. {
  6. protected:
  7. const char *name;
  8. int type;
  9. int amount;
  10. int cost;
  11. public:
  12. int TYPE_RESTORATION = 0;
  13. int TYPE_DESTRUCTION = 1;
  14. static std::vector<Spell *> Book;
  15. Spell(const char *, int, int, int);
  16. int getType();
  17. int getAmount();
  18. int getCost();
  19. const char *getName();
  20. };
  21. #endif