game

Class Node


public class Node
extends java.lang.Object

Describes the basic properties of a node of the map and the various methods associated with this class.
Version:
1.0 (05-09-2002)
Author:
Shashi Mittal

Method Summary

void
addLink(Node n, int t)
Initializes the Links of the Node object
Link[]
getLinks()
Returns the links of the node
int
getPosition()
Returns the position of this node

Method Details

addLink

public void addLink(Node n,
                    int t)
Initializes the Links of the Node object

getLinks

public Link[] getLinks()
Returns the links of the node

getPosition

public int getPosition()
Returns the position of this node