RU beehive logo ITEC dept promo banner
ITEC 380
2009fall
ibarland

homeinfolecturesexamshwsarchive

lect03c
structs containing structs


Note: 
A cute Java toString: prints as "new Book(...)".
what happens when we eval `(make-book ...)`, in interactions pane?
what about when we eval `17`?
There is actually parsing and to-string happening.

note: debugging is local, not global
Overview of how big-bang works.
mention: images vs scenes
random, in testing


book-shelf: contains a name and two books
Write tot-pages
Write tot-time-to-read

lib-shelf: contains three lib-items
Write tot-time-to-waste


...a grammar for...english? lib-shelfs?
  [define/contract]
  [defer: kons]






next hw:
- read about grammars
- draw-princess, draw-truck
- world struct (exactly two trucks)
- call big-bang
- add 'wrap-as-needed' for trucks, princess
- handle key-press: + accelerates trucks, and - decelerates
  (and + also counts as two extra ticks against the princess ?)
- intersect

homeinfolecturesexamshwsarchive


©2009, Ian Barland, Radford University
Last modified 2009.Sep.21 (Mon)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme