Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setPosition()

virtual void Flint::Shape::setPosition ( Vec2f newPosition)
inlinevirtual

Set the world-space position of the shape.

Parameters
newPositionNew position (top-left corner or center, depending on the shape).

Definition at line 29 of file shape.h.