The Application interface purpose is to give the developer an sketch to what an application using the engine looks like. It will contain all attributes to create a scene and the input logic. In essence, the dev will create an application class inheriting from this interface and will have to implement several methods:
class IApplication
{
public:
IApplication(<settings>);
~IApplication() = 0 (?);
Run() = 0;
protected:
Initialize(params) = 0;
CleanUp()=0;
Camera activeCamera;
IsoCamera, FpsCamera (...)
<other relevant attributes, like scene graph, chunk manager, etc>
};
At the main.cpp file, the dev would just call each of these functions:
The Application interface purpose is to give the developer an sketch to what an application using the engine looks like. It will contain all attributes to create a scene and the input logic. In essence, the dev will create an application class inheriting from this interface and will have to implement several methods:
At the main.cpp file, the dev would just call each of these functions: