1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-04 08:55:51 +00:00
Aquaria/Aquaria/Spore.h

24 lines
414 B
C
Raw Normal View History

#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