Working NumberFrame and score indicator

This commit is contained in:
2015-09-25 05:30:31 +02:00
parent 2af9567722
commit 7b47385674
14 changed files with 131 additions and 2 deletions
+5
View File
@@ -52,6 +52,11 @@ public:
void SetTexture(std::string resourceName)
{
if (resourceName.empty()) {
m_Texture = nullptr;
return;
}
m_Texture = ResourceManager::Load<dd::Texture>(resourceName);
if (m_Texture == nullptr) {
m_Texture = ResourceManager::Load<dd::Texture>("Textures/Core/ErrorTexture.png");