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

Method getX

src/Geoscape/Polygon.cpp:120–123  ·  view source on GitHub ↗

* Returns the X coordinate of a given point. * @param i Point number (0-max). * @return Point's X coordinate. */

Source from the content-addressed store, hash-verified

118 * @return Point's X coordinate.
119 */
120Sint16 Polygon::getX(int i) const
121{
122 return _x[i];
123}
124
125/**
126 * Changes the X coordinate of a given point.

Callers 15

generateMapMethod · 0.45
setWidthMethod · 0.45
stopScrollingMethod · 0.45
prepareDebriefingMethod · 0.45
BattlescapeStateMethod · 0.45
handleItemClickMethod · 0.45
resizeMethod · 0.45
stopScrollingMethod · 0.45
drawGridMethod · 0.45
drawItemsMethod · 0.45
mouseClickMethod · 0.45
arrangeGroundMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected