1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00
Aquaria/Aquaria/GasCloud.h
fgenesis 8472718fb7 Major include refactor; changes to pretty much everything
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.
2016-07-09 04:18:40 +02:00

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