Changeset 25831 in project
- Timestamp:
- 01/27/12 14:43:55 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/4/doodle
r25830 r25831 52 52 ==== Event loop 53 53 ===== 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> 57 55 58 56 Starts the event loop and runs {{world-inits}}. If … … 106 104 ===== Procedures 107 105 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> 114 107 115 108 Initialises the internal state and createas a window with the given … … 146 139 circle is filled in {{color}} too. 147 140 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> 152 142 153 143 Draw a line between the two points {{(x1,y1)}} and {{(x2,y2)}} in the … … 190 180 191 181 *sprites* 182 192 183 <procedure>add-sprite!</procedure> 184 193 185 <procedure>check-for-collisions</procedure> 186 194 187 <procedure>make-sprite</procedure> 188 195 189 <procedure>remove-sprite!</procedure> 190 196 191 <procedure>update-sprite!</procedure> 197 192
Note: See TracChangeset
for help on using the changeset viewer.