Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
DelayedSpellCreate.h
Go to the documentation of this file.
1 
8 #ifndef RECAST_SERVER_DELAYEDSPELLCREATE_H
9 #define RECAST_SERVER_DELAYEDSPELLCREATE_H
10 
11 
12 #include <Box2D/Common/b2Math.h>
13 #include <world/wrappers/Entity.h>
14 #include <spells/Spell.hpp>
15 
17 public:
18  DelayedSpellCreate(b2Vec2 pos, Spell *spell) : pos(pos), spell(spell) {}
19 
20  b2Vec2 getPos() { return pos; }
21 
22  Spell *getSpell() { return spell; }
23 
24 private:
25  b2Vec2 pos;
26  Spell *spell;
27 };
28 
29 
30 #endif //RECAST_SERVER_DELAYEDSPELLCREATE_H
Spell * getSpell()
Definition: DelayedSpellCreate.h:22
b2Vec2 getPos()
Definition: DelayedSpellCreate.h:20
Definition: Spell.hpp:15
Definition: DelayedSpellCreate.h:16
DelayedSpellCreate(b2Vec2 pos, Spell *spell)
Definition: DelayedSpellCreate.h:18