CombatContex.h 400 B

1234567891011121314151617181920212223242526
  1. #ifndef BEHAVIORTREE_COMBATCONTEX_H
  2. #define BEHAVIORTREE_COMBATCONTEX_H
  3. #include "BehaviorTree/ContexIf.h"
  4. namespace Egametang {
  5. class CombatContex: public ContexIf
  6. {
  7. private:
  8. Spell* spell;
  9. Buff* buff;
  10. public:
  11. CombatContex(Spell* spell, Buff* buff);
  12. ~CombatContex();
  13. virtual Spell* GetSpell();
  14. virtual Buff* GetBuff();
  15. };
  16. } // namespace Egametang
  17. #endif // BEHAVIORTREE_COMBATCONTEX_H