1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/framework/game/game.hpp
2024-04-01 14:37:07 -03:00

27 lines
534 B
C++

#ifndef XNA_GAME_GAME_HPP
#define XNA_GAME_GAME_HPP
#include "../enums.hpp"
#include "../forward.hpp"
#include "../types.hpp"
#include "time.hpp"
#include "window.hpp"
namespace xna {
class IGame {
public:
virtual ~IGame(){}
virtual void Exit() = 0;
virtual int Run() = 0;
virtual PGameWindow Window() = 0;
virtual PGraphicsDevice GetGraphicsDevice() = 0;
protected:
virtual void Draw(GameTime const& gameTime) = 0;
virtual void Initialize() = 0;
virtual void Update(GameTime const& gameTime) = 0;
};
}
#endif