8#ifndef RTYPE_CLIENT_INTERFACES_ISCENE_HPP_
9 #define RTYPE_CLIENT_INTERFACES_ISCENE_HPP_
11 #include <SFML/Graphics.hpp>
14 namespace interfaces {
Interface for different scenes in the client application.
virtual ~IScene(void)=default
virtual void onEnter(void)=0
Called when the scene is entered.
virtual void handleEvent(const sf::Event &)=0
Handle an incoming event.
virtual void onExit(void)=0
Called when the scene is exited.
virtual void update(float dt)=0
Update the scene state.