選択できるのは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