diff --git a/WorkFactory_8hpp.html b/WorkFactory_8hpp.html new file mode 100644 index 00000000..ebf56e76 --- /dev/null +++ b/WorkFactory_8hpp.html @@ -0,0 +1,117 @@ + + +
+ + + + ++ |
+ JNGL
+
+ Easy to use cross-platform 2D game library
+ |
+
#include "work.hpp"
Go to the source code of this file.
++Classes | |
class | WorkFactory |
+Namespaces | |
namespace | jngl |
JNGL's main namespace. | |
+ |
+ JNGL
+
+ Easy to use cross-platform 2D game library
+ |
+
+ |
+ JNGL
+
+ Easy to use cross-platform 2D game library
+ |
+
This is the complete list of members for WorkFactory, including all inherited members.
+Job()=default | Job | |
Job(const Job &)=default | Job | |
Job(Job &&)=default | Job | |
onBackEvent() | Work | virtual |
onControllerBack() | Work | virtual |
onPauseEvent() | Work | virtual |
onQuitEvent() | Work | virtual |
operator=(const Job &)=default | Job | |
operator=(Job &&)=default | Job | |
WorkFactory(std::function< std::shared_ptr< Work >()>) (defined in WorkFactory) | WorkFactory | explicit |
~Job() | Job | virtual |
+ |
+ JNGL
+
+ Easy to use cross-platform 2D game library
+ |
+
+Public Member Functions | |
+ | WorkFactory (std::function< std::shared_ptr< Work >()>) |
Public Member Functions inherited from Work | |
virtual void | onBackEvent () |
Gets called when the "back" button is pressed (important on Android) More... | |
virtual void | onQuitEvent () |
Gets called when the user closes the main window or quit() has been called. More... | |
virtual void | onControllerBack () |
Gets called when the "Back" button is pressed on any connected controller (Android only) More... | |
virtual void | onPauseEvent () |
Gets called when the main window loses focus or the app is put in the background. More... | |
+virtual void | onLoad () |
Gets called when the Work is activated by App::mainLoop() | |
Public Member Functions inherited from Job | |
virtual void | step ()=0 |
Advance the game logic. More... | |
virtual void | draw () const =0 |
Draw the game state. More... | |
+ | Job ()=default |
Does nothing. | |
+ | Job (const Job &)=default |
Copy constructor. | |
+Job & | operator= (const Job &)=default |
Copy assignment. | |
+ | Job (Job &&)=default |
Move constructor. | |
+Job & | operator= (Job &&)=default |
Move assignment. | |
+virtual | ~Job () |
Does nothing. | |
Definition at line 10 of file WorkFactory.hpp.
+CAchievement | |
CAppParameters | Parameters used to initialize the main window |
CColor | Object representing a RGB color |
CFrameBuffer | Image framebuffer object which can be rendered on |
CImageData | Containing the pixel data of an image file |
▼CJob | Background job which stays part of the main loop independent of the active jngl::Work |
CWork | Active state of the game, e.g. a menu or the game itself |
CSprite::Loader | Use this class to load a Sprite asynchronously |
CMat3 | 3x3 matrix |
CMat4 | 4x4 matrix |
Cmat_traits< jngl::Mat3 > | |
Cmat_traits< jngl::Mat4 > | |
CPixels | Scale-dependent pixels, corresponds to actual pixels on the screen |
CScaleablePixels | Scale-independent pixels, also called "screen pixels" |
CShader | Fragment or vertex GLSL shader |
CShaderProgram | Linked vertex and fragment shaders |
CSingleton< T > | Inherit from this class to create a singleton that will be destroyed when your games exits |
CSoundFile | Sound loaded from an OGG file |
CTextLine | Rectangle shaped text (in contrast to jngl::Text this only represents one line) |
CVec2 | Two-dimensional vector |
Cvec_traits< jngl::Vec2 > | |
CVertex | Position and texture coordinates |
CVideo | Ogg Theory video file |
▼CWidget | |
CLabel | Simple Widget displaying a line of text |
▼CWork | Active state of the game, e.g. a menu or the game itself |
CWorkFactory | |
CSprite::Loader | Use this class to load a Sprite asynchronously |
CMat3 | 3x3 matrix |
CMat4 | 4x4 matrix |
Cmat_traits< jngl::Mat3 > | |
Cmat_traits< jngl::Mat4 > | |
CPixels | Scale-dependent pixels, corresponds to actual pixels on the screen |
CScaleablePixels | Scale-independent pixels, also called "screen pixels" |
CShader | Fragment or vertex GLSL shader |
CShaderProgram | Linked vertex and fragment shaders |
CSingleton< T > | Inherit from this class to create a singleton that will be destroyed when your games exits |
CSoundFile | Sound loaded from an OGG file |
CTextLine | Rectangle shaped text (in contrast to jngl::Text this only represents one line) |
CVec2 | Two-dimensional vector |
Cvec_traits< jngl::Vec2 > | |
CVertex | Position and texture coordinates |
CVideo | Ogg Theory video file |
▼CWidget | |
CLabel | Simple Widget displaying a line of text |
#include "jngl/Vertex.hpp"
#include "jngl/Video.hpp"
#include "jngl/Widget.hpp"
#include "jngl/WorkFactory.hpp"
#include "jngl/debug.hpp"
#include "jngl/effects.hpp"
#include "jngl/font.hpp"