1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-03 16:35:45 +00:00
Aquaria/Aquaria/Spore.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

23 lines
414 B
C++

#ifndef SPORE_H
#define SPORE_H
#include "CollideEntity.h"
#include <list>
class Spore : public CollideEntity
{
public:
Spore(const Vector &position);
typedef std::list<Spore*> Spores;
static Spores spores;
static void killAllSpores();
static bool isPositionClear(const Vector &position);
void destroy();
protected:
void onEnterState(int state);
void onUpdate(float dt);
void onEndOfLife();
};
#endif