LogicNodeIf.h 365 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef LOGICTREE_LOGICNODEIF_H
  2. #define LOGICTREE_LOGICNODEIF_H
  3. namespace Egametang {
  4. class Spell;
  5. class Buff;
  6. class Spell
  7. {
  8. };
  9. class Buff
  10. {
  11. public:
  12. int type;
  13. };
  14. class LogicContex
  15. {
  16. public:
  17. Spell* spell;
  18. Buff* buff;
  19. };
  20. class LogicNodeIf
  21. {
  22. public:
  23. virtual bool Run(LogicContex* contex) = 0;
  24. };
  25. } // namespace Egametang
  26. #endif // LOGICTREE_LOGICNODEIF_H