1 #ifndef CPP3DS_GAME_HPP 
    2 #define CPP3DS_GAME_HPP 
    5 #include <cpp3ds/Window/Event.hpp> 
    6 #include <cpp3ds/Window/Window.hpp> 
    7 #include <cpp3ds/Graphics/Console.hpp> 
    8 #include <cpp3ds/Graphics/Shader.hpp> 
    9 #include <cpp3ds/Graphics/RenderTexture.hpp> 
   11     #include <SFML/Graphics.hpp> 
   20     virtual void update(
float delta) = 0;
 
   21     virtual void processEvent(
Event& event) = 0;
 
   22     virtual void renderTopScreen(
Window& window) = 0;
 
   23     virtual void renderBottomScreen(
Window& window) = 0;
 
   31     Window windowTop, windowBottom;
 
   33     bool m_consoleEnabled;
 
   37     sf::RenderTexture m_frameTextureTop, m_frameTextureBottom;
 
   38     sf::Sprite m_frameSpriteTop, m_frameSpriteBottom;
 
Shader class (vertex and fragment) 
 
Window that serves as a target for OpenGL rendering. 
 
cpp3ds::Game example goes here 
 
Class holding a valid drawing context. 
 
Utility class for manpulating RGBA colors. 
 
static const Color White
White predefined color. 
 
Defines a system event and its parameters.