Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /*
  2. * map.h
  3. *
  4. * Created on: Apr 21, 2017
  5. * Author: Libi
  6. */
  7.  
  8. #ifndef MAP_H
  9. #define MAP_H
  10.  
  11. #include <iostream>
  12. #include <string>
  13. #include "Map.cpp"
  14. #include "RobotDB.cpp"
  15. #include "Interface.cpp"
  16.  
  17. using std::string;
  18.  
  19. /** Add a dirt to the map, meaning place 1 at x,y location
  20. * @param x: x coordinate
  21. * @param y: y coordinate
  22. */
  23. void addDirt(const int x, const int y);
  24.  
  25. /**
  26. * Check if x,y coordinates is valid. valid - if the coordinates in the map is in the map limits.
  27. * @param x: x coordinate
  28. * @param y: y coordinate
  29. * @return: True if the if coordinates are valid, false otherwise.
  30. */
  31. bool inMapLimit (int x, int y);
  32.  
  33. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement