MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getTexture

Method getTexture

src/Geoscape/Polygon.cpp:160–163  ·  view source on GitHub ↗

* Returns the texture used to draw the polygon * (textures are stored in a set). * @return Texture sprite number. */

Source from the content-addressed store, hash-verified

158 * @return Texture sprite number.
159 */
160int Polygon::getTexture() const
161{
162 return _texture;
163}
164
165/**
166 * Changes the texture used to draw the polygon.

Callers 2

drawLandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected