2013-01-19 20:02:34 +00:00
|
|
|
#ifndef APPLICATION_INTERFACE_H_INCLUDED
|
|
|
|
#define APPLICATION_INTERFACE_H_INCLUDED
|
|
|
|
|
|
|
|
#include "include/Utils/Utils.h"
|
|
|
|
|
|
|
|
namespace SE
|
|
|
|
{
|
|
|
|
|
|
|
|
class TApplicationInterface
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
bool IsConsoleOut;
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
TApplicationInterface();
|
|
|
|
|
2013-02-05 20:17:58 +00:00
|
|
|
virtual ~TApplicationInterface();
|
2013-01-19 20:02:34 +00:00
|
|
|
|
|
|
|
virtual void OuterInit(int screenWidth, int screenHeight, float matrixWidth, float matrixHeight);
|
|
|
|
|
|
|
|
virtual void InnerInit() { }
|
|
|
|
//To do on init
|
|
|
|
|
|
|
|
virtual void OuterDeinit();
|
|
|
|
|
|
|
|
virtual void InnerDeinit() { }
|
|
|
|
//To do on deinit
|
|
|
|
|
|
|
|
virtual void OuterDraw() { }
|
|
|
|
|
|
|
|
virtual void InnerDraw() { }
|
|
|
|
//What to draw
|
|
|
|
|
|
|
|
virtual void OuterUpdate(cardinal timer) { }
|
|
|
|
|
|
|
|
virtual void InnerUpdate(cardinal timer) { }
|
|
|
|
};
|
|
|
|
|
|
|
|
} //namespace SE
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|