Changeset 25831 in project


Ignore:
Timestamp:
01/27/12 14:43:55 (9 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [178.15.24.98]: Fix procedure definition markup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/doodle

    r25830 r25831  
    5252==== Event loop
    5353===== Procedures
    54 <procedure>(run-event-loop #!key
    55                            (run-in-background #f)
    56                            (minimum-wait 0))</procedure>
     54<procedure>(run-event-loop #!key (run-in-background #f) (minimum-wait 0))</procedure>
    5755
    5856Starts the event loop and runs {{world-inits}}. If
     
    106104===== Procedures
    107105
    108 <procedure>(new-doodle #!key
    109                     (width 680)
    110                     (height 460)
    111                     (title "Doodle")
    112                     (background solid-black)
    113                     (fullscreen #f))</procedure>
     106<procedure>(new-doodle #!key (width 680) (height 460) (title "Doodle") (background solid-black) (fullscreen #f))</procedure>
    114107
    115108Initialises the internal state and createas a window with the given
     
    146139circle is filled in {{color}} too.
    147140
    148 <procedure>(draw-line x1 y1 x2 y2
    149                    #!key
    150                    (color solid-white)
    151                    (style #:solid))</procedure>
     141<procedure>(draw-line x1 y1 x2 y2 #!key (color solid-white) (style #:solid))</procedure>
    152142
    153143Draw a line between the two points {{(x1,y1)}} and {{(x2,y2)}} in the
     
    190180
    191181*sprites*
     182
    192183<procedure>add-sprite!</procedure>
     184
    193185<procedure>check-for-collisions</procedure>
     186
    194187<procedure>make-sprite</procedure>
     188
    195189<procedure>remove-sprite!</procedure>
     190
    196191<procedure>update-sprite!</procedure>
    197192
Note: See TracChangeset for help on using the changeset viewer.