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

AI.h 310 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #ifndef AI_H
  3. #define AI_H
  4. #include "API.h"
  5. // 暂定版本:Human和Butcher全部继承AI类,
  6. class IAI
  7. {
  8. public:
  9. IAI()
  10. {
  11. }
  12. virtual void play(IAPI& api) = 0;
  13. };
  14. class AI : public IAI
  15. {
  16. public:
  17. AI() :
  18. IAI()
  19. {
  20. }
  21. void play(IAPI& api) override;
  22. };
  23. #endif