NeighborDirection as a class, inside there is enum Direction{Top = 0, ... }