Apply translation to the object.
Overloadable method if the position is moved.
Overloadable method if the position is reset.
Returns the current position.
Move the current position by x|y.
Move the current position by vec.
Overloadable method to reset the position. The position is set to 0|0.
Setting a new position.
Setting a new position.
Returns an inout reference to the coordinates. It should be used to set or get the x and y coordinates. If you (re)set the position herewith, it doesn't appear in <b>_positionMoved</b> or <b>_positionReset</b>.
Basic implementation for moveable objects