mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 17:53: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.
23 lines
414 B
C++
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
|