CombatContex.cc 309 B

123456789101112131415161718192021222324
  1. #include "BehaviorTree/CombatContex.h"
  2. namespace Egametang {
  3. CombatContex::CombatContex(Spell* spell, Buff* buff):
  4. spell(spell), buff(buff)
  5. {
  6. }
  7. CombatContex::~CombatContex()
  8. {
  9. }
  10. Spell* CombatContex::GetSpell()
  11. {
  12. return spell;
  13. }
  14. Buff* CombatContex::GetBuff()
  15. {
  16. return buff;
  17. }
  18. } // namespace Egametang