MCPcopy Create free account
hub / github.com/SFML/SFML / move

Method move

src/SFML/Graphics/Transformable.cpp:101–104  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

99
100////////////////////////////////////////////////////////////
101void Transformable::move(Vector2f offset)
102{
103 setPosition(m_position + offset);
104}
105
106
107////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

setPositionFunction · 0.85

Tested by

no test coverage detected