| 123456789101112131415161718192021222324252627282930313233 |
- #ifndef BEHAVIORTREE_SPELLBUFF_H
- #define BEHAVIORTREE_SPELLBUFF_H
- namespace Egametang {
- class Unit
- {
- public:
- int health;
- };
- class Spell
- {
- public:
- Unit* caster;
- Unit* victim;
- };
- class Buff
- {
- public:
- int buffType;
- public:
- Buff(): buffType(0)
- {
- }
- };
- } // namespace Egametang
- #endif // BEHAVIORTREE_SPELLBUFF_H
|