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

Method setX

src/Engine/Surface.cpp:636–639  ·  view source on GitHub ↗

* Changes the position of the surface in the X axis. * @param x X position in pixels. */

Source from the content-addressed store, hash-verified

634 * @param x X position in pixels.
635 */
636void Surface::setX(int x)
637{
638 _x = x;
639}
640
641/**
642 * Changes the position of the surface in the Y axis.

Callers 10

fixMethod · 0.45
centerAllSurfacesMethod · 0.45
recenterMethod · 0.45
drawHandSpriteMethod · 0.45
ListGamesStateMethod · 0.45
ListSaveStateMethod · 0.45
lstSavesPressMethod · 0.45
addLineMethod · 0.45
ArticleStateUfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected