-
Notifications
You must be signed in to change notification settings - Fork 0
/
manager.h
45 lines (40 loc) · 788 Bytes
/
manager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include <SDL.h>
#include <iostream>
#include <string>
#include <vector>
#include "ioManager.h"
#include "clock.h"
#include "framefactory.h"
#include "world.h"
#include "spritemanager.h"
#include "sound.h"
#include "name.h"
#include "scrolling.h"
#include "menu.h"
#include "intro.h"
#include "introduction.h"
#include "wiimote.h"
class Manager {
public:
Manager ();
~Manager ();
void play();
private:
const bool env;
const IOManager& io;
Clock& clock;
uint16_t controls;
SDL_Surface *screen;
World world;
World world1;
World world2;
SpriteManager spriteManager;
std::vector<Intro*> t1;
Introduction intro;
Introduction menu;
void help();
void draw();
void update(Uint32 ticks);
Manager(const Manager&);
Manager& operator=(const Manager&);
};