Isoraqathedh

specialize type and default

Mar 12th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.42 KB | None | 0 0
  1. (defgeneric range->cannon (range &key jump-friendly-p jump-enemy-p before-spaces after-spaces capture-screen-p screen-count)
  2.   (:documentation "Changes a range to a cannon by adding the requisite data."))
  3. (defmethod range->cannon ((range range) &key
  4.               (jump-friendly-p  t)
  5.               (jump-enemy-p     t)
  6.               (before-spaces    :any)
  7.               (after-spaces     :any)
  8.               (capture-screen-p nil)
  9.               (screen-count     1))
  10.   ; meh
  11. )
Advertisement
Add Comment
Please, Sign In to add comment