repo.or.cz
/
EroBeats.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016 project-added to repo
[EroBeats.git]
/
Release
/
ScreenTemplate.h
blob
5794e89e97a23f50cff96ea434fb041ba833fdad
1
#pragma once
2
3
#include
"FileIO.h"
4
#include
"ResourceMaster.h"
5
#include
"Fonts.h"
6
#include
"Animation.h"
7
#include
"SFX.h"
8
#include
"ScreenTemplate.h"
9
10
#include <chrono>
11
#include <SDL\SDL.h>
12
class
ScreenTemplate
13
{
14
public
:
15
ScreenTemplate
();
16
~
ScreenTemplate
();
17
18
void
gameLoop
();
19
virtual
void
processInput
();
20
virtual
void
update
();
21
virtual
void
play
();
22
virtual
void
render
();
23
virtual
void
close
();
24
25
int
x
;
26
int
y
;
27
28
double
FPSDelay
;
29
30
int
*
screen
;
31
Fonts
*
font
;
32
SDL_Renderer
*
renderer
;
33
ResourceMaster
*
rsc
;
34
FileIO
*
fio
;
35
36
bool
mouseClicked
;
37
bool
mouseClickedL
;
38
bool
mouseClickedR
;
39
bool
running
;
40
bool
playedOnce
;
41
bool
playedOnceL
;
42
43
};
44