diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/02-moving-bitmp.lisp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/02-moving-bitmp.lisp b/examples/02-moving-bitmp.lisp index 9504a87..3c9ee89 100644 --- a/examples/02-moving-bitmp.lisp +++ b/examples/02-moving-bitmp.lisp @@ -15,10 +15,10 @@ "Move the target around, grow and shrink it. Print out its position no matter what happens." (case scancode - (:scancode-left (decf (ww::unit-x target) (ww::unit-width target))) - (:scancode-right (incf (ww::unit-x target) (ww::unit-width target))) - (:scancode-down (decf (ww::unit-y target) (ww::unit-height target))) - (:scancode-up (incf (ww::unit-y target) (ww::unit-height target))) + (:scancode-left (decf (ww::unit-x target) )) + (:scancode-right (incf (ww::unit-x target) )) + (:scancode-down (decf (ww::unit-y target) )) + (:scancode-up (incf (ww::unit-y target) )) (:scancode-w (incf (ww::unit-width target) 20)) (:scancode-r (incf (ww::unit-rotation target) (/ pi 3))) (:scancode-l (decf (ww::unit-rotation target) (/ pi 3))) |