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

Public Member Functions

 SandboxApp ()
 
 SandboxApp ()
 
 SandboxApp (Muto::ApplicationSettings settings)
 
 SandboxApp (Muto::ApplicationSettings settings)
 
 ~SandboxApp ()
 
 ~SandboxApp ()
 
- 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

◆ SandboxApp() [1/4]

SandboxApp::SandboxApp ( )
inline
186 {
187 //PushLayer(new Sandbox2D());
189 }
void PushLayer(Layer *layer)
Adds a layer to the application layer stack.
Definition Application.cpp:89
Definition EditorLayer.h:13

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

◆ SandboxApp() [2/4]

SandboxApp::SandboxApp ( Muto::ApplicationSettings  settings)
inline
191 : Muto::Application(settings)
192 {
193 //PushLayer(new Sandbox2D());
195 }
The core application class that manages the main loop, window, layers, and event handling.
Definition Application.h:70

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

Referenced by Muto::CreateApplication().

◆ ~SandboxApp() [1/2]

SandboxApp::~SandboxApp ( )
inline
197{}

◆ SandboxApp() [3/4]

SandboxApp::SandboxApp ( )
inline
186 {
187 //PushLayer(new Sandbox2D());
189 }

◆ SandboxApp() [4/4]

SandboxApp::SandboxApp ( Muto::ApplicationSettings  settings)
inline
191 : Muto::Application(settings)
192 {
193 //PushLayer(new Sandbox2D());
195 }

◆ ~SandboxApp() [2/2]

SandboxApp::~SandboxApp ( )
inline
197{}

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