point-click/gameWorld.h
Kishan Takoordyal 7d79795002
init
2020-11-15 08:47:32 +04:00

33 lines
476 B
C++

#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include "enemy.h"
#include "texts.h"
using namespace std;
#ifndef GAMEWORLD_H
#define GAMEWORLD_H
class GameWorld {
bool isGameOver;
int damage;
sf::Texture backgroundTexture;
sf::Sprite background;
sf::Time time;
Enemy enemy;
Texts texts;
bool loadBackground();
public:
GameWorld();
bool performSetup();
bool runGame();
};
#endif