You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
583 B
31 lines
583 B
#ifndef MAINGAME_H |
|
#define MAINGAME_H |
|
|
|
#include <iostream> |
|
|
|
#include "camera.h" |
|
#include "entitymanager.h" |
|
#include "gamestate.h" |
|
#include "inputmanager.h" |
|
#include "mapload.h" |
|
#include "player.h" |
|
|
|
class MainGame : public GameState |
|
{ |
|
public: |
|
void Initialize(sf::RenderWindow* window); |
|
void Update(sf::RenderWindow* window); |
|
void Render(sf::RenderWindow* window); |
|
void Destroy(sf::RenderWindow* window); |
|
|
|
private: |
|
sf::Clock clock; |
|
sf::Time time; |
|
|
|
EntityManager* entityManager; |
|
Map* map; |
|
Camera* camera; |
|
Player* player; |
|
}; |
|
|
|
#endif // MAINGAME_H
|
|
|