aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/08-pong.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-08 10:13:16 -0500
committerColin Okay <colin@cicadas.surf>2022-07-08 10:13:16 -0500
commit7bf212df6c3cf0d16b7145ddb18b97f504717230 (patch)
tree51fc74e31f577884c6ec09e64a97f309832a6df2 /examples/08-pong.lisp
parent9106f3adb796f2c7fb0127fb8e0a66799a214c9b (diff)
[add] exports to pacage; [rename] frameset-key/sprite-frameset-key
Diffstat (limited to 'examples/08-pong.lisp')
-rw-r--r--examples/08-pong.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/08-pong.lisp b/examples/08-pong.lisp
index eae6843..51de28d 100644
--- a/examples/08-pong.lisp
+++ b/examples/08-pong.lisp
@@ -121,7 +121,7 @@ on which boundary VAL is outside of."
(ww::defhandler pong-mousemove
(ww::on-mousemotion (app)
"Just sets the position of the paddle, and updates the paddles dx"
- (setf (ww::x (paddle app))
+ (setf (ww::x (paddle app))
(- x (* 0.5 (ww::width (paddle app))))
;; using dx to store some motion informaton
;; used to chagne dx and dr in the ball