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
(end-of-time)
, it stops the clock and displays the