74 [[nodiscard]]
const std::string
getName()
const override {
return "RType_Client_Multi"; }
97 const eng::id winSceneId)
override
111 void update(
float deltaTime,
unsigned int width,
unsigned int height)
override;
This file contains the Game interface.
Main multiplayer game client plugin for R-Type.
eng::id m_mainSceneId
ID of the main multiplayer scene.
const std::string getName() const override
Get plugin name.
bool m_showDebug
Debug mode flag.
RTypeClientMulti(RTypeClientMulti &&)=delete
Deleted move constructor (non-movable)
~RTypeClientMulti() override=default
Destructor.
RTypeClientMulti & operator=(RTypeClientMulti &&)=delete
Deleted move assignment operator (non-movable)
void init(eng::Engine &engine, utl::cli::AppConfig &appConfig, bool &showDebug, const eng::id menuSceneId, const eng::id winSceneId) override
Initialize the multiplayer client plugin.
RTypeClientMulti(const RTypeClientMulti &)=delete
Deleted copy constructor (non-copyable)
eng::Engine * m_engine
Pointer to the game engine.
void update(float deltaTime, unsigned int width, unsigned int height) override
Update the multiplayer client plugin (called each frame)
utl::PluginType getType() const override
Get plugin type.
RTypeClientMulti()=default
Default constructor.
RTypeClientMulti & operator=(const RTypeClientMulti &)=delete
Deleted copy assignment operator (non-copyable)
utl::cli::AppConfig * m_appConfig
Pointer to application configuration.
unsigned int getMainSceneId() const override
Get the main scene ID.
void setupScenes(bool &showDebug, eng::id menuSceneId)
Setup all multiplayer game scenes.