private Coordinates WrapToNorthEdge(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == currentCoord.X && coord.Y == MinBounds)); }
private Coordinates IncreaseXPosition(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == currentCoord.X + 1 && coord.Y == currentCoord.Y)); }
private Coordinates WrapToWestEdge(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == MinBounds && coord.Y == currentCoord.Y)); }
private Coordinates WrapToSouthEdge(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == currentCoord.X && coord.Y == Height)); }
private Coordinates DecreaseYPosition(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == currentCoord.X && coord.Y == currentCoord.Y - 1)); }
private Coordinates WrapToEastEdge(Coordinates currentCoord) { return(Coordinates.Find(coord => coord.X == Length && coord.Y == currentCoord.Y)); }