-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIntroView.h
More file actions
43 lines (35 loc) · 719 Bytes
/
IntroView.h
File metadata and controls
43 lines (35 loc) · 719 Bytes
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
//
// IntroView.h
// TankGame
//
// Created by Jacob Gonzalez on 11/04/2015.
// Copyright (c) 2015 Jacob Gonzalez. All rights reserved.
//
#ifndef INTRO_VIEW_H
#define INTRO_VIEW_H
#include "View.h"
#include "Sprite.h"
// :: Class for introscreen logic ::
// :: gets players names ::
class IntroView : public View
{
public:
IntroView() : View()
{
_init();
}
~IntroView()
{}
void update(int t);
void draw();
// : name of player1 and player2
std::string player1;
std::string player2;
private:
void _init();
// : sprite for verses text
Sprite _vs_text;
// : string for fake loading bar
std::string _load_num_string;
};
#endif // INTRO_VIEW_H