move abstract method

void move(
  1. Vector2 offset
)

Translates the shape by the specified offset vector, in-place.

This method is a simpler version of project, since all shapes can be moved without changing the shape type, and with little modifications to the internal state.

Implementation

void move(Vector2 offset);