From 22a24b1a04bf405734236e15b36f05b58284eb53 Mon Sep 17 00:00:00 2001 From: Matthias Felleisen Date: Wed, 1 Nov 2006 21:15:02 +0000 Subject: [PATCH] fixed world docs svn: r4737 --- collects/teachpack/htdp/Docs/world.thtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/collects/teachpack/htdp/Docs/world.thtml b/collects/teachpack/htdp/Docs/world.thtml index 223f215eb3..f958295a4c 100644 --- a/collects/teachpack/htdp/Docs/world.thtml +++ b/collects/teachpack/htdp/Docs/world.thtml @@ -54,10 +54,12 @@ students to simulate a small world of animated drawings and games: its button(s). -
  • {(idx on-redraw)} : (World -> Image) -> true
    - (on-tick-event world->image) means that DrScheme - calls world->image whenever the canvas must be redrawn; the - result is displayed in the teachpack's canvas +
  • {(idx on-redraw)} : (World -> Scene) -> true
    + (on-redraw world->scene) means that DrScheme calls + world->image whenever the canvas must be redrawn (usually + after a tick event/a keyboard event/a mouse event has occurred); + the function consumes the current world and produces a scene, which is + then displayed in the teachpack's canvas
  • {(idx end-of-time)} : String u Symbol -> World
    When DrScheme evaluates (end-of-time), it stops the clock and displays the