CCallback.h 311 B

12345678910111213141516171819
  1. #ifndef CCALLBACK_H
  2. #define CCALLBACK_H
  3. class CGameState;
  4. struct HeroMoveDetails
  5. {
  6. int3 src, dst; //source and destination points
  7. int heroID; //which hero
  8. int owner;
  9. };
  10. class CCallback
  11. {
  12. protected:
  13. CGameState * gs;
  14. public:
  15. bool moveHero(int ID, int3 destPoint);
  16. };
  17. #endif //CCALLBACK_H