Skip to content

Commit

Permalink
fixed puck freeze after tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
David O'Toole committed Dec 8, 2009
1 parent b6854bf commit 4e35789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xong/xong.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,7 @@ reach new areas and items. The puck also picks up the color.")
(color :initform :white))

(define-method kick puck (direction)
(setf <phase-number> 0)
(setf <direction> direction))

(define-method bounce puck ()
Expand Down

0 comments on commit 4e35789

Please sign in to comment.