org.samcrow
Class Waypoint

java.lang.Object
  extended by org.samcrow.Node
      extended by org.samcrow.Waypoint
All Implemented Interfaces:
java.lang.Comparable<Node>

public class Waypoint
extends Node

Class for a waypoint. This currently doesn't do anything differently from Node.

Author:
scamper

Field Summary
 
Fields inherited from class org.samcrow.Node
CIRCLE_RADIUS, links, x, y
 
Constructor Summary
Waypoint(int inX, int inY)
           
 
Method Summary
 org.lekan.graphics.SGObject getDrawObject()
          Get the SGObjects to draw this node
 
Methods inherited from class org.samcrow.Node
addLink, compareTo, equals, getLinks, getX, getY, hashCode, isInArea, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Waypoint

public Waypoint(int inX,
                int inY)
Method Detail

getDrawObject

public org.lekan.graphics.SGObject getDrawObject()
Description copied from class: Node
Get the SGObjects to draw this node

Overrides:
getDrawObject in class Node
Returns:
a collection of SGObjects to draw