1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-25 23:43:58 +00:00
Aquaria/Aquaria/Intro.h

32 lines
446 B
C
Raw Normal View History

#ifndef AQUARIA_INTRO_H
#define AQUARIA_INTRO_H
#include "StateManager.h"
#include "Precacher.h"
class Quad;
class Intro : public StateObject
{
public:
Intro();
void applyState();
void removeState();
void update(float dt);
void endIntro();
bool waitQuit(float t);
protected:
void createMeteor(int layer, Vector pos, Vector off, Vector sz);
void clearMeteors();
std::vector<Quad*>meteors;
bool done;
Precacher cachy;
};
#endif