19 lines
447 B
C++
19 lines
447 B
C++
//
|
|
// Created by sebastian on 13.02.26.
|
|
//
|
|
|
|
#ifndef DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H
|
|
#define DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H
|
|
#include <memory>
|
|
|
|
class UiRessourceWidget;
|
|
class Font;
|
|
|
|
|
|
class RessourceWidgetFactory {
|
|
public:
|
|
static std::unique_ptr<UiRessourceWidget> create(const std::string &iconName, const std::string &textureName, int amount, float marginLeft = 0.0);
|
|
};
|
|
|
|
|
|
#endif //DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H
|