r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
IGameClient.hpp
Go to the documentation of this file.
1///
2/// @file IGameClient.hpp
3/// @brief This file contains the Game interface
4/// @namespace gme
5///
6
7#pragma once
8
10
11#include "Engine/Engine.hpp"
13
14namespace gme
15{
16
17 ///
18 /// @interface IGameClient
19 /// @brief Interface for the games
20 /// @namespace gme
21 ///
23 {
24 public:
25 virtual void init(eng::Engine &engine, utl::cli::AppConfig &appConfig, bool &showDebug,
26 unsigned int menuSceneId, unsigned int winSceneId) = 0;
27 virtual void update(float deltaTime, unsigned int width, unsigned int height) = 0;
28 [[nodiscard]] virtual unsigned int getMainSceneId() const = 0;
29
30 private:
31 }; // class IGameClient
32} // namespace gme
This file contains the app config structure for client.
This file contains the Engine class declaration.
This file contains the plugin interface.
Class for the engine.
Definition Engine.hpp:34
Interface for the games.
virtual void init(eng::Engine &engine, utl::cli::AppConfig &appConfig, bool &showDebug, unsigned int menuSceneId, unsigned int winSceneId)=0
virtual unsigned int getMainSceneId() const =0
virtual void update(float deltaTime, unsigned int width, unsigned int height)=0
Interface for plugins.
Definition IPlugin.hpp:38