Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::client::interfaces::IScene Interface Referenceabstract

Interface for different scenes in the client application. More...

#include <IScene.hpp>

Inheritance diagram for rtp::client::interfaces::IScene:
Collaboration diagram for rtp::client::interfaces::IScene:

Public Member Functions

virtual ~IScene (void)=default
 
virtual void onEnter (void)=0
 Called when the scene is entered.
 
virtual void onExit (void)=0
 Called when the scene is exited.
 
virtual void handleEvent (const sf::Event &)=0
 Handle an incoming event.
 
virtual void update (float dt)=0
 Update the scene state.
 

Detailed Description

Interface for different scenes in the client application.

This interface defines the basic structure and functionalities that all scenes (e.g., Menu, Game, Settings) must implement.

Definition at line 23 of file IScene.hpp.

Constructor & Destructor Documentation

◆ ~IScene()

virtual rtp::client::interfaces::IScene::~IScene ( void  )
virtualdefault

Member Function Documentation

◆ handleEvent()

◆ onEnter()

◆ onExit()

◆ update()


The documentation for this interface was generated from the following file: