JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
Scene.hpp File Reference

Contains jngl::Scene class and related functions. More...

#include "work.hpp"
Include dependency graph for Scene.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jngl
 JNGL's main namespace.
 

Typedefs

using Scene = Work
 Because it's more intuitive, jngl::Scene is the new name for jngl::Work.
 

Functions

void setScene (std::shared_ptr< Scene >)
 Sets the passed Scene to be active in the main loop.
 
template<class T , class... Args>
T & setScene (Args &&... args)
 The same as setScene(std::shared_ptr<Scene>) but creates the Scene for you.
 

Detailed Description

Contains jngl::Scene class and related functions.

Definition in file Scene.hpp.