sf::Sprite *Tile::getSprite() { return lookupType( this->type ).getSprite(); }
bool Tile::isDiggable() const { return lookupType( this->type ).isDiggable(); }
bool Tile::isSolid() const { return lookupType( this->type ).isSolid(); }
Attl_t encodeAttribute(char *attr, Objl_t objl) { Atta_t atta = enumAttribute(attr, lookupType(objl)); return s57attributes[atta] != 0 ? s57attributes[atta] : iencattributes[atta]; }