9#include <Dualie/System/Rect.hpp>
10#include <Dualie/System/Vector2.hpp>
Used as a camera-like object to move the screen view to different positions in world coordinates.
Definition View.hpp:19
dl::Vector2f getOffset()
Definition View.cpp:27
void move(dl::Vector2f offset)
Moves the view offset number of pixels.
Definition View.cpp:22
void reset(const dl::FloatRect &viewRect)
Sets the view's viewrect to a new viewrect.
Definition View.cpp:13
void setCenter(dl::Vector2f center)
Sets the center of the view's rect.
Definition View.cpp:17