Minor fixes.

--HG--
branch : dev
This commit is contained in:
Martí­n Lucas Golini
2017-03-21 02:30:43 -03:00
parent 18033b0c3d
commit 4a085c1928
6 changed files with 42 additions and 19 deletions

View File

@@ -6,11 +6,17 @@
namespace EE { namespace Graphics {
class DrawableSearcher {
class EE_API DrawableSearcher {
public:
static Drawable * searchByName( const std::string& name );
static Drawable * searchById( const Uint32 & id );
static void setPrintWarnings( const bool& print );
static bool getPrintWarnings();
protected:
static bool sPrintWarnings;
};
}}

View File

@@ -54,10 +54,10 @@ class EE_API TextureAtlasManager : public ResourceManager<TextureAtlas> {
void printResources();
/** Sets if the warnings for not finding a resource must be printed in screen. */
void printWarnings( const bool& warn );
void setPrintWarnings( const bool& warn );
/** @return If warnings are being printed. */
const bool& printWarnings() const;
const bool& getPrintWarnings() const;
protected:
bool mWarnings;