[Add] Who wants to see some magical abilities?
This commit is contained in:
parent
a6bc7151d4
commit
4b86f12f3a
@ -1,5 +1,4 @@
|
||||
CONFIG -= qt
|
||||
|
||||
LIBS += -lGL \
|
||||
-lSDL \
|
||||
-lSDL_ttf \
|
||||
@ -7,7 +6,6 @@ LIBS += -lGL \
|
||||
-lSDL_gfx \
|
||||
-ltinyxml \
|
||||
-lGLU
|
||||
|
||||
HEADERS += ../src/Libs/wglext.h \
|
||||
../src/Libs/glxext.h \
|
||||
../src/libUnuk/Engine/WorldManager.h \
|
||||
@ -46,8 +44,8 @@ HEADERS += ../src/Libs/wglext.h \
|
||||
../src/libUnuk/System/Vec2.h \
|
||||
../src/libUnuk/System/MathBox.h \
|
||||
../src/libUnuk/Engine/Pathfinding.h \
|
||||
../src/libUnuk/UI/SavegameMenu.h
|
||||
|
||||
../src/libUnuk/UI/SavegameMenu.h \
|
||||
../src/libUnuk/Engine/Spells.h
|
||||
SOURCES += ../src/libUnuk/Engine/WorldManager.cpp \
|
||||
../src/libUnuk/Engine/ParticleEmitter.cpp \
|
||||
../src/libUnuk/Engine/NPC.cpp \
|
||||
|
21
src/libUnuk/Engine/Spells.h
Normal file
21
src/libUnuk/Engine/Spells.h
Normal file
@ -0,0 +1,21 @@
|
||||
#pragma once;
|
||||
#include "../../Unuk/Player.h"
|
||||
#include "../System/Timer.h"
|
||||
#include "ParticleEmitter.h"
|
||||
|
||||
class Spells {
|
||||
public:
|
||||
Spells(void);
|
||||
~Spells(void);
|
||||
|
||||
enum {
|
||||
FIREBALL,
|
||||
ICE
|
||||
};
|
||||
|
||||
void CastSpell(Player* player);
|
||||
|
||||
private:
|
||||
Timer* _timeBetweenCast;
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user