/include/texture.hpp |
---|
19,6 → 19,4 |
int halfHeight; |
}; |
void drawTexture(Texture *texture, int x, int y); |
#endif // TEXTURE_HPP |
/src/texture.cpp |
---|
102,11 → 102,3 |
glEnd(); |
} |
} |
void drawTexture(Texture *texture, int x, int y) |
{ |
if (texture) |
{ |
texture->draw(x, y); |
} |
} |