translateVector method

void translateVector(
  1. Vector2 vector
)

Implementation

void translateVector(Vector2 vector) {
  translate(vector.x, vector.y);
}