#include <gNode.h>
Public Member Functions | |
gNode (double x, double y) | |
void | swap (gNode *that) |
swap positions with another gNode | |
Data Fields | |
gNode * | t |
pointer to gNode on top | |
gNode * | b |
pointer to gNode on Bottom | |
gNode * | l |
pointer to gNode to left | |
gNode * | r |
pointer to gNode to right | |
double | x |
x position in image coordinates | |
double | y |
y position in image coordinates |
Node for class Grid connects to other nodes to the top, bottom, left and right