mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-01 15:35:47 +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
471 B
C++
21 lines
471 B
C++
#ifndef GASCLOUD_H
|
|
#define GASCLOUD_H
|
|
|
|
#include "Entity.h"
|
|
|
|
class GasCloud : public Entity
|
|
{
|
|
public:
|
|
GasCloud(Entity *source, const Vector &position, const std::string &particles, const Vector &color, int radius, float life, float damage=0, bool isMoney=false, float poisonTime=0);
|
|
protected:
|
|
ParticleEffect *emitter;
|
|
std::string gfx, particles;
|
|
int radius;
|
|
float damage;
|
|
float pTimer;
|
|
void onUpdate(float dt);
|
|
float poisonTime;
|
|
Entity *sourceEntity;
|
|
};
|
|
|
|
#endif
|