Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Muto::Mutare Class Reference
Inheritance diagram for Muto::Mutare:
Muto::Application Muto::Application

Public Member Functions

 Mutare ()
 
 Mutare ()
 
 ~Mutare ()
 
 ~Mutare ()
 
- Public Member Functions inherited from Muto::Application
 Application (ApplicationSettings settings)
 Constructs the Application with the given settings.
 
 Application (const std::string &name="")
 Constructs the Application with the given name.
 
void Close ()
 Closes the application.
 
ImGuiLayer * GetImGuiLayer ()
 Retrieves the ImGui layer.
 
ApplicationSettings & GetSettings ()
 Retrieves the application settings.
 
const ApplicationSettings & GetSettings () const
 Retrieves the application settings as a const reference.
 
Window & GetWindow ()
 Retrieves the application window.
 
void OnEvent (Event &e)
 Handles incoming events and dispatches them to the appropriate handlers.
 
void PushLayer (Layer *layer)
 Adds a layer to the application layer stack.
 
void PushOverlay (Layer *overlay)
 Adds an overlay layer to the application layer stack.
 
std::string ResolvePath (const std::string &Path, PathResolveMode Mode=PathResolveMode::AssetsDirectory) const
 Resolves the full path to a resource based on a relative path and the application's settings.
 
void Run ()
 Starts the main application loop.
 
virtual ~Application ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Muto::Application
static Application & Get ()
 Retrieves the singleton instance of the Application.
 

Constructor & Destructor Documentation

◆ Mutare() [1/2]

Muto::Mutare::Mutare ( )
inline
13 : Application("Mutare")
14 {
15
16 PushLayer(new EditorLayer());
17 }
void PushLayer(Layer *layer)
Adds a layer to the application layer stack.
Definition Application.cpp:89
Application(const std::string &name="")
Constructs the Application with the given name.
Definition Application.cpp:19

References Muto::EditorLayer::EditorLayer(), and Muto::Application::PushLayer().

◆ ~Mutare() [1/2]

Muto::Mutare::~Mutare ( )
inline
19 {
20
21 }

◆ Mutare() [2/2]

Muto::Mutare::Mutare ( )
inline
13 : Application("Mutare")
14 {
15
16 PushLayer(new EditorLayer());
17 }

◆ ~Mutare() [2/2]

Muto::Mutare::~Mutare ( )
inline
19 {
20
21 }

The documentation for this class was generated from the following file: