start asset manager
Some checks failed
Linux arm64 / Build (push) Failing after 1m58s

This commit is contained in:
2025-05-27 17:09:36 +02:00
parent 7a96136631
commit 3d1feb6295
4 changed files with 128 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
#include "AppMenu.h"
#include "../AssetManager.h"
AppMenu::AppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<Settings> settings, std::shared_ptr<sf::RenderWindow> renderWindow) : menuStack(menuStack),
settings(settings),
renderWindow(renderWindow)
{
Asset file = getResource(AssetName::data_fonts_pressstart_prstartk_ttf);
this->pressStartFont = sf::Font(file.data, file.size);
}