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

Method setTexture

src/Geoscape/Polygon.cpp:169–172  ·  view source on GitHub ↗

* Changes the texture used to draw the polygon. * @param tex Texture sprite number. */

Source from the content-addressed store, hash-verified

167 * @param tex Texture sprite number.
168 */
169void Polygon::setTexture(int tex)
170{
171 _texture = tex;
172}
173
174/**
175 * Returns the number of points (vertexes) that make up the polygon.

Callers 1

loadDatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected