correctPositionFromCollision method

void correctPositionFromCollision(
  1. Vector2 position
)

Implementation

void correctPositionFromCollision(Vector2 position) {
  super.position = position;
}