AbstractBeliefs

Untitled

Apr 13th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. typedef struct {
  2.   float lat;
  3.   float long;
  4. } coord;
  5.  
  6. class waypointsHandler{
  7.   private:
  8.     coord waypoints[10];
  9.     byte index;
  10.  
  11.   public:
  12.     void indexSet(byte val);
  13.     byte indexGet();
  14.    
  15.     coord currentWaypoint();
  16.     coord nextWaypoint();
  17.     coord lastWaypoint();
  18.     coord waypointAt(byte val);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment