-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGame.h
More file actions
44 lines (38 loc) · 1.04 KB
/
Game.h
File metadata and controls
44 lines (38 loc) · 1.04 KB
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
#pragma once
#include <SFML/Graphics.hpp>
#include "Event.h"
#include "Global_classes\Log.h"
//Test
class Game
{
private:
Events me_event;
PlayerControl mpc_playcont;
Tilemap mt_tile;
Framerate mf_frame;
SceneManager m_sm;
sf::RenderWindow mwin_game;
public:
Game(void);
~Game(void);
/*******************************************/
/* function: void init() */
/* description: this funktion init the */
/* window and the mainloop */
/* */
/* param: */
/* return: */
/* Autor: Moritz Weichert */
/*******************************************/
void init();
/*******************************************/
/* function: GameHandle() */
/* description: this funktion contains */
/* the mainloop */
/* */
/* param: */
/* return: */
/* Autor: Moritz Weichert */
/*******************************************/
void GameHandle();
};