Function GridNode.HasConnectionInDirection

HasConnectionInDirection (int dir)

True if the node has a connection in the specified direction.

Public
bool HasConnectionInDirection (

int

dir

)

True if the node has a connection in the specified direction.

The dir parameter corresponds to directions in the grid as: Z
|
|

6 2 5
\ | /
-- 3 - X - 1 ----- X
/ | \
7 0 4

|
|