mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-03 20:16:29 +03:00
26 lines
542 B
C++
26 lines
542 B
C++
#ifndef EE_GRAPHICS_DRAWABLEMANAGER_HPP
|
|
#define EE_GRAPHICS_DRAWABLEMANAGER_HPP
|
|
|
|
#include <eepp/core/core.hpp>
|
|
#include <eepp/graphics/drawable.hpp>
|
|
|
|
namespace EE { namespace Graphics {
|
|
|
|
class EE_API DrawableSearcher {
|
|
public:
|
|
static Drawable* searchByName( const std::string& name, bool firstSearchSprite = false );
|
|
|
|
static Drawable* searchById( const Uint32& id );
|
|
|
|
static void setPrintWarnings( const bool& print );
|
|
|
|
static bool getPrintWarnings();
|
|
|
|
protected:
|
|
static bool sPrintWarnings;
|
|
};
|
|
|
|
}} // namespace EE::Graphics
|
|
|
|
#endif
|