I'm trying to create an Interface class:
// IScene.h
class IScene
{
public: virtual void Start() = 0;
virtual void Loop() = 0;
virtual void Exit() = 0;
};
// Template.cpp
#include "template.h"
#include "MainMenu.h"
#include "IScene.h"
using namespace AGK;
app App;
IScene * currentState;
void app::Begin(void)
{
currentState = new MainMenu();
}
IScene.h is not being called anywhere in the project, but compiler is still giving an error : Error : 'class' type redefinition for file IScene.h