Direction constructor

const Direction(
  1. int x,
  2. int y
)

Implementation

const Direction(int x, int y) : super(x, y);