module Snake::Player::Directions
Defined in:
snake/player.crConstant Summary
-
Down =
Coordinate.new(0, 1)
-
Left =
Coordinate.new(-1, 0)
-
Right =
Coordinate.new(1, 0)
-
Up =
Coordinate.new(0, -1)
Coordinate.new(0, 1)
Coordinate.new(-1, 0)
Coordinate.new(1, 0)
Coordinate.new(0, -1)