package.lisp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ;;;; package.lisp
  2. (defpackage #:robot
  3. (:use #:cl)
  4. (:export #:up
  5. #:down
  6. #:left
  7. #:right
  8. #:paint
  9. #:wall-up-p
  10. #:wall-down-p
  11. #:wall-left-p
  12. #:wall-right-p
  13. #:clear-up-p
  14. #:clear-down-p
  15. #:clear-left-p
  16. #:clear-right-p
  17. #:paintedp
  18. #:blankp
  19. #:start
  20. #:fresh-world
  21. #:defworld))
  22. (defpackage #:robot-impl
  23. (:use #:cl #:robot)
  24. (:export #:show-robot-app
  25. #:landscape
  26. #:landscape-width
  27. #:landscape-height
  28. #:landscape-hwalls
  29. #:landscape-vwalls
  30. #:dotted-cells
  31. #:painted-cells
  32. #:robot
  33. #:robot-active-p
  34. #:robot-position
  35. #:robot-app-wish
  36. #:robot-app-world
  37. #:robot-app-component
  38. #:robot-app-callback
  39. #:robot-app-wish
  40. #:robot-app-show
  41. #:robot-app-update-map
  42. #:set-robot-led-mode
  43. #:set-robot-data
  44. #:*robot-app-running-p*)
  45. (:import-from #:ltk #:*wish*))
  46. (defpackage #:robot-ltk
  47. (:use #:cl #:ltk #:robot-impl)
  48. (:import-from #:bordeaux-threads
  49. #:make-thread)
  50. (:import-from #:safe-queue
  51. #:make-mailbox
  52. #:mailbox-send-message
  53. #:mailbox-receive-message))