Retro_Gameboy
The purpose of this project is to create a GameBoy with classic games.
GameGenerics.h
Go to the documentation of this file.
1 #ifndef GAMEGENERICS_H
2 #define GAMEGENERICS_H
3 
4 #include <SFML/Graphics.hpp>
5 #include <time.h>
6 #include <iostream>
7 
8 using namespace sf;
9 
10 namespace choices
11 {
12 
14 
15 }
16 
18 {
19 
20  private:
21 
22  protected:
23 
28  void GameOverScreen( RenderWindow& window );
29 
30  public:
31 
34  GameGenerics();
35 
38  virtual int CalculateScore() = 0;
39 
40 
41 };
42 
43 #endif
virtual int CalculateScore()=0
Pure virtual function inherited from GameGenerics.h Each game calculate scores differently and theref...