JNGL
Easy to use cross-platform 2D game library
|
Contains jngl::Scene class and related functions. More...
#include "work.hpp"
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. | |
Contains jngl::Scene class and related functions.
Definition in file Scene.hpp.