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