8#ifndef MALENA_APPLICATION_H
9#define MALENA_APPLICATION_H
41 const std::string& title,
48 unsigned int screenHeight,
49 unsigned int bitDepth,
50 const std::string& title);
178 template<
typename TManifest>
AppManager(const sf::VideoMode &videoMode, const std::string &title, sf::RenderWindow &window=WindowManager::getWindow())
Construct an AppManager and create the SFML window.
void addComponent(Core &component)
Register a Core object with the application's component manager.
ApplicationBase(unsigned int screenWidth, unsigned int screenHeight, unsigned int bitDepth, const std::string &title)
Construct from pixel dimensions and bit depth.
static void clearEvents()
Clear all event subscriptions across the entire application.
void reset()
Full application reset — clears events, messages, and components.
ApplicationBase(const sf::VideoMode &videoMode, const std::string &title, sf::RenderWindow &window=WindowManager::getWindow())
Construct with an explicit video mode and window title.
Primary entry point for Malena applications without a manifest.
ApplicationBase(const sf::VideoMode &videoMode, const std::string &title, sf::RenderWindow &window=WindowManager::getWindow())
Construct with an explicit video mode and window title.
Entry point for Malena applications with a manifest.
ApplicationBase(const sf::VideoMode &videoMode, const std::string &title, sf::RenderWindow &window=WindowManager::getWindow())
Construct with an explicit video mode and window title.
ml::ManifestResources< TManifest > Resources
Unified resource accessor — Resources::get(Images::Icon).
Virtual base class for all Malena framework objects.
Trait that adds per-frame update and window lifecycle callbacks to any Core object.
sf::RenderWindow & getWindow()
Return the framework's shared sf::RenderWindow.
Unified manifest resource and config accessor.