Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
SimpleExample.h
Go to the documentation of this file.
1#ifndef INCLUDE_SIMPLEEXAMPLE_SIMPLEEXAMPLE_H_
2#define INCLUDE_SIMPLEEXAMPLE_SIMPLEEXAMPLE_H_
3
5
14{
15
24 bool Init() override;
25
35 bool Update() override;
36
47 bool Draw() override;
48
57 void Quit() override;
58
59 std::string name = "SimpleExample";
60 [[nodiscard]] const std::string &GetName() override
61 {
62 return name;
63 }
64};
65
66#endif // INCLUDE_SIMPLEEXAMPLE_SIMPLEEXAMPLE_H_
Structure representing an project application instance.
Definition BaseProject.h:17
bool Update() override
Updates the example.
Definition SimpleExample.cpp:22
std::string name
Definition SimpleExample.h:59
bool Init() override
Initializes the example.
Definition SimpleExample.cpp:9
const std::string & GetName() override
Definition SimpleExample.h:60
bool Draw() override
Renders the example.
Definition SimpleExample.cpp:27
void Quit() override
Cleans up resources.
Definition SimpleExample.cpp:51
A basic example/template for structuring graphics-related code.