|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Public Member Functions | |
| ApplicationBuilder () | |
| Constructs a new builder with default settings. | |
| ApplicationBuilder< details::application_tags::set_name_called, Tags... > | setName (std::string name) |
| Sets the name of the application. | |
| ApplicationBuilder< details::application_tags::set_size_called, Tags... > | setSize (unsigned int width, unsigned int height) |
| Sets the size of the application window. | |
| ApplicationBuilder< details::application_tags::set_resize_policy, Tags... > | setResizable (bool resizable) |
| Sets whether the application window is resizable. | |
| std::unique_ptr< Application > | build () |
| Builds the application with the given settings. | |
|
explicit |
Constructs a new builder with default settings.
| spark::base::DuplicatedApplicationException | If an application was already created before. |
| std::unique_ptr< Application > spark::core::ApplicationBuilder< Tags >::build | ( | ) |
Builds the application with the given settings.
| ApplicationBuilder< details::application_tags::set_name_called, Tags... > spark::core::ApplicationBuilder< Tags >::setName | ( | std::string | name | ) |
Sets the name of the application.
| name | A std::string containing the name of the application. |
| ApplicationBuilder< details::application_tags::set_resize_policy, Tags... > spark::core::ApplicationBuilder< Tags >::setResizable | ( | bool | resizable | ) |
Sets whether the application window is resizable.
| resizable | true if the window should be resizable, false otherwise. |
| ApplicationBuilder< details::application_tags::set_size_called, Tags... > spark::core::ApplicationBuilder< Tags >::setSize | ( | unsigned int | width, |
| unsigned int | height ) |
Sets the size of the application window.
| width | The width of the window. |
| height | The height of the window. |