diff options
Diffstat (limited to 'src/main/java/net/transit/network/system/Node.java')
-rw-r--r-- | src/main/java/net/transit/network/system/Node.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/net/transit/network/system/Node.java b/src/main/java/net/transit/network/system/Node.java index 9e9ac10..9ab9812 100644 --- a/src/main/java/net/transit/network/system/Node.java +++ b/src/main/java/net/transit/network/system/Node.java @@ -27,4 +27,10 @@ public interface Node * @return */ public Object getData(String groupID); + + /** Get the nodes that this node is connected to + * + * @return Node[] + */ + public Node[] getConnections(); } |