1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-19 21:55:24 +00:00
OpenDiablo2/src/OpenDiablo2.Game/include/OpenDiablo2.Game/D2Engine.h

27 lines
508 B
C
Raw Normal View History

2019-02-21 04:14:27 +00:00
#ifndef OPENDIABLO2_D2ENGINE_H
#define OPENDIABLO2_D2ENGINE_H
2019-02-23 01:14:35 +00:00
#include <OpenDiablo2.System/D2Graphics.h>
#include <OpenDiablo2.System/D2Input.h>
#include "D2EngineConfig.h"
2019-02-21 04:14:27 +00:00
namespace OpenDiablo2 {
namespace Game {
class D2Engine {
public:
2019-02-23 01:14:35 +00:00
D2Engine(const D2EngineConfig& config);
2019-02-21 04:14:27 +00:00
void Run();
private:
2019-02-23 01:14:35 +00:00
const D2EngineConfig config;
OpenDiablo2::System::D2Graphics::Ptr gfx;
OpenDiablo2::System::D2Input::Ptr input;
bool isRunning = true;
2019-02-21 04:14:27 +00:00
};
}
}
#endif //OPENDIABLO2_D2ENGINE_H
2019-02-23 01:14:35 +00:00