-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameOver.h
50 lines (37 loc) · 846 Bytes
/
GameOver.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
46
47
48
49
50
//
// gameOver.h
// battleeee
//
// Created by Ingy on 2/23/15.
// Copyright (c) 2015 Ingy. All rights reserved.
//
#ifndef __battleeee__gameOver__
#define __battleeee__gameOver__
#include "Settings.h"
#include <SFML/Graphics.hpp>
using namespace sf;
class GameOver
{
public:
GameOver(RenderWindow *, Settings *, bool);
~GameOver();
void initialize();
void gameloop();
bool handleEvents();
void renderScreen();
void update();
private:
Settings * S;
RenderWindow * name;
Font pageFont;
Text title;
Text backText;
string textSource;
Texture backTexture;
Sprite backImage;
Sprite cursor;
Texture cursorTexture;
int cursorXpos, cursorYpos;
// member for every drawable object
};
#endif /* defined(__battleeee__gameOver__) */