#ifndef _waypoint_hh_ #define _waypoint_hh_ #include #include #include class Node { public: unsigned short int x, z; Node( int _x, int _z ) : x( _x ), z( _z ) { } }; class WayPoint { public: short int x, z; short int id; //if for waypoint vector when findign path std::vector < std::list < Node > * > paths; void addPath( std::list < Node > * list ); //listor med vägar till andra noder WayPoint( int _x, int _z ); friend std::ostream & operator << ( std::ostream & os, const WayPoint & w ); }; #endif