translation property

Vec2D get translation
inherited

Implementation

Vec2D get translation => Vec2D.fromValues(x, y);
set translation (Vec2D pos)

Sets the position of the Node

Implementation

set translation(Vec2D pos) {
  x = pos.x;
  y = pos.y;
}