mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
8472718fb7
This untangles some of the gigantic kitchen sink headers in an attempt to split things into smaller files. Also don't include gl.h, glext.h, windows.h, and other such nonsense *everywhere*. Lots of cleanups on the way too. More dead/unused code removal. Remove incrFlag(), decrFlag() Lua functions.
21 lines
310 B
C++
21 lines
310 B
C++
#ifndef MANABALL_H
|
|
#define MANABALL_H
|
|
|
|
#include "Quad.h"
|
|
|
|
class ManaBall : public Quad
|
|
{
|
|
public:
|
|
ManaBall(Vector pos, float a);
|
|
void destroy();
|
|
bool isUsed();
|
|
void use(Entity *entity);
|
|
ParticleEffect healEmitter;
|
|
protected:
|
|
float lifeSpan;
|
|
bool used;
|
|
float amount;
|
|
void onUpdate(float dt);
|
|
};
|
|
|
|
#endif
|