I do not think that I am actually missing a ";" because when I comment out the declaration line it does not show the error..
It is happening on this line:
Main.cpp
Tutorial.h
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
|
#ifndef TUTORIAL_H
#define TUTORIAL_H
#include "Shape.h"
#include "Player.h"
#include "Gameplay.h"
#include "Cursor.h"
using namespace std; // String lives in this namespace
// Resolve Circular dependencies
// Forward declarations
class Interface;
class Player;
class Gameplay;
class Shape;
class Cursor;
class Tutorial
{
private:
public:
// Resolve Circular dependencies
Interface* i;
Player* p;
Gameplay* g;
Shape* s;
Cursor* c;
Tutorial();
void Overhead(Interface &_interface,
Cursor &cursor,
Gameplay &gameplay,
Shape &shape,
Player &player,
sf::Clock &clock);
~Tutorial();
};
#endif
| |
Last edited on