您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

23 行
359 B

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