svn: r7091
This commit is contained in:
parent
df0c8c3245
commit
3d3a0d8d60
|
@ -1,7 +1,7 @@
|
|||
package draw;
|
||||
|
||||
|
||||
public abstract class World {
|
||||
protected Canvas theCanvas;
|
||||
protected Canvas theCanvas = null; // can I do better here?
|
||||
|
||||
/**
|
||||
*@author Matthias Felleisen, Kathy Gray
|
||||
|
|
|
@ -182,7 +182,6 @@
|
|||
(define (on-event world0 th)
|
||||
(begin-draw-sequence)
|
||||
(send theCanvas copy)
|
||||
;(send world0 erase)
|
||||
(let ([world (imperative (th) world0)])
|
||||
(unless (eq? world0 world)
|
||||
(setCanvas world theCanvas))
|
||||
|
|
Loading…
Reference in New Issue
Block a user