aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/10-canvas-sneks.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-22 11:58:16 -0500
committerColin Okay <colin@cicadas.surf>2022-07-22 11:58:16 -0500
commit00841605110612f6e7f3bbfc054ceff980bf25be (patch)
tree1f16b86d5c555eea22e60cb2d36f88682bd9023b /examples/10-canvas-sneks.lisp
parent6d9b8b48423dba99ecdba004f260c30e6717b6a6 (diff)
[version] [refactor] [redesign] removed containers
Diffstat (limited to 'examples/10-canvas-sneks.lisp')
-rw-r--r--examples/10-canvas-sneks.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10-canvas-sneks.lisp b/examples/10-canvas-sneks.lisp
index a69b429..ef5d1d5 100644
--- a/examples/10-canvas-sneks.lisp
+++ b/examples/10-canvas-sneks.lisp
@@ -111,7 +111,7 @@ sneks. Adds the canvas to the app, and sets up the perframe handler."
(loop repeat (population app) collect (random-snek 100 100)))
(setf (ww:width (snek-pit app)) (ww::application-width app)
(ww:height (snek-pit app)) (ww::application-width app))
- (ww::add-unit app (snek-pit app))
+ (ww::add-unit (snek-pit app))
(ww:add-handler app #'sneks-a-go-go))
(defun start (&key (side 800) (population 50))