Watch out! Skins!

This commit is contained in:
mschiller890
2026-03-13 16:26:19 +01:00
parent 6f7812293e
commit 12d5835711
21 changed files with 737 additions and 31 deletions

View File

@@ -110,6 +110,11 @@ std::string Mob::getTexture()
return textureName;
}
void Mob::setTextureName(const std::string& name)
{
textureName = name;
}
bool Mob::isPickable()
{
return !removed;

View File

@@ -42,6 +42,7 @@ public:
virtual void spawnAnim();
virtual std::string getTexture();
virtual void setTextureName(const std::string& name);
virtual bool isAlive();
virtual bool isPickable();