[Add] Who wants to see some magical abilities?

This commit is contained in:
Rtch90 2012-02-19 21:18:26 +00:00
parent a6bc7151d4
commit 4b86f12f3a
2 changed files with 23 additions and 4 deletions

View File

@ -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 \

View 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;
};