Advertisement
Guest User

Untitled

a guest
Oct 13th, 2022
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.38 KB | None | 0 0
  1. (defmethod display ((map dungeon-map) stream)
  2.   (let ((display-map (concatenate 'string (dotimes (y (height map))
  3.                                             (dotimes (x (width map))
  4.                                               (format stream "~a" (visibility/character (get-cell x y map))))
  5.                                             (format stream "~%")))))
  6.     display-map))
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement