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

Method getGridX

src/Basescape/BaseView.cpp:145–148  ·  view source on GitHub ↗

* Returns the X position of the grid square * the mouse is currently over. * @return X position on the grid. */

Source from the content-addressed store, hash-verified

143 * @return X position on the grid.
144 */
145int BaseView::getGridX() const
146{
147 return _gridX;
148}
149
150/**
151 * Returns the Y position of the grid square

Callers 3

viewClickMethod · 0.80
viewClickMethod · 0.80
viewClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected