The Example namespace contains ports of the examples from the Raylib library. More...
Functions | |
void | basicScreenManager () |
Basic screen manager example. | |
void | basicWindow () |
Basic window example. | |
void | customExample () |
Custom example. | |
The Example namespace contains ports of the examples from the Raylib library.
To run an example, simply call the corresponding function from this namespace :
void Axle::Examples::basicScreenManager | ( | ) |
Basic screen manager example.
This example illustrates a very simple screen manager based on a states machines
void Axle::Examples::basicWindow | ( | ) |
Basic window example.
This example creates a basic window with a title and a size.
A basic game loop is also implemented, which will simply keep the window open until the user closes it, clear the background to a color, and then draw some text.
void Axle::Examples::customExample | ( | ) |
Custom example.
This example is a custom example that you can use to test your own code.