-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWelcome.h
49 lines (38 loc) · 858 Bytes
/
Welcome.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
//
// Welcome.h
// battleeee
//
// Created by Ingy on 11/24/14.
// Copyright (c) 2014 Ingy. All rights reserved.
//
#ifndef __battleeee__Welcome__
#define __battleeee__Welcome__
#include "Settings.h"
#include <SFML/Graphics.hpp>
using namespace sf;
using namespace std;
class Welcome
{
public:
Welcome (RenderWindow *, Settings *);
~Welcome ();
void initialize();
void gameloop();
bool handleEvents();
void renderScreen();
void update();
private:
RenderWindow * window;
Settings * set;
Font mainFont;
Text signedIn;
Text welcomeText;
vector <Text> menuItems;
Sprite bgImage;
Texture bgImageTexture;
Sprite characterImage;
Texture characterImageTexture;
Sprite cursor;
Texture cursorTexture;
};
#endif /* defined(__battleeee__Welcome__) */