25 #include "common/func.h" 26 #include "math/vector2d.h" 27 #include "twp/easing.h" 28 #include "twp/rectf.h" 37 void setAt(
const Math::Vector2d &at);
38 inline Math::Vector2d getAt()
const {
return _pos; }
40 inline void setBounds(
const Rectf &bounds) { _bounds = bounds; }
41 inline Rectf getBounds()
const {
return _bounds; }
46 inline bool isMoving()
const {
return _moving; }
47 void panTo(
const Math::Vector2d &target,
float time, InterpolationKind interpolation);
52 void clamp(
const Math::Vector2d &at);
53 void setAtCore(
const Math::Vector2d &at);
57 Rectf _bounds = Rectf::fromMinMax(Math::Vector2d(-10000, -10000), Math::Vector2d(10000, 10000));
59 Math::Vector2d _init, _target;
Definition: achievements_tables.h:27