Guest User

Untitled

a guest
May 16th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.29 KB | None | 0 0
  1.   (method (move-piece new-piece next )
  2.           (set! _needs-redraw #t)
  3.           (set! _old-piece _piece)
  4.           (set! _piece new-piece)
  5.           (send _piece set-current-field self)
  6.  
  7.           (if (eq? (next self) #f) _old-piece
  8.             (send (next self) move-piece _old-piece next)))
Add Comment
Please, Sign In to add comment