summaryrefslogtreecommitdiff
path: root/2d/time.scm
Commit message (Collapse)AuthorAgeFilesLines
* Add new scheduling procedures and rename existing ones.David Thompson2014-01-071-1/+1
| | | | | | | | * 2d/agenda.scm (agenda-schedule, schedule): Rename. (agenda-schedule-interval, schedule-interval): Rename. (schedule-next, schedule-every): New procedures. * 2d/sprite.scm: Use schedule-every. * 2d/time.scm (time-every): Use schedule-interval.
* Allow signals to be redefined at the REPL and "just work."David Thompson2013-12-291-4/+4
|
* Update time module to use new signals API.David Thompson2013-12-151-15/+20
| | | | | | | * 2d/time.scm (time-interval): Rename to time-every. (time-every): Use make-root-signal. (time-each): New name for the old time-every. (time-delay): Rewrite it.
* Make init a non-keyword argument in make-signal procedure.David Thompson2013-12-121-2/+2
| | | | | | | * 2d/signals.scm (make-signal): Change parameter list. * 2d/mouse.scm (mouse-position): Remove #:init keyword. * 2d/time.scm (time-interval, time-delay): Remove #:init keyword. * 2d/window.scm (window-size): Remove #:init keyword.
* Explicitly set initial value for time-delay signal.David Thompson2013-12-021-0/+1
| | | | * 2d/time.scm (time-delay): Set initial signal value.
* Change parameters for time-interval and time-every.David Thompson2013-12-021-9/+9
| | | | * 2d/time.scm (time-interval, time-every): Add signal parameter.
* Add time signals.David Thompson2013-12-011-0/+49
* 2d/time.scm: New module.