diff --git a/cells.lisp b/cells.lisp index 773aa97..05bbce5 100644 --- a/cells.lisp +++ b/cells.lisp @@ -496,6 +496,10 @@ is in the way." "Set the row R and column C of the cell." (setf r c)) +(define-method move-to cell (r c) + [delete-cell *world* self ] + [drop-cell *world* self r c]) + (define-method step-on-current-square cell () "Send :step events to all the cells on the current square." (when diff --git a/forest/debris.png b/forest/debris.png index c96db93..f4df3fb 100644 Binary files a/forest/debris.png and b/forest/debris.png differ diff --git a/forest/forest.fasl b/forest/forest.fasl index 65a4895..a540983 100644 Binary files a/forest/forest.fasl and b/forest/forest.fasl differ diff --git a/forest/forest.lisp b/forest/forest.lisp index 66f9459..2bc0a67 100644 --- a/forest/forest.lisp +++ b/forest/forest.lisp @@ -43,14 +43,15 @@ (defcell balloon (categories :initform '(:drawn :actor)) - text timeout + text timeout following (stroke-color :initform ".white") (background-color :initform ".gray40")) (define-method initialize balloon (&key text (stroke-color ".white") (background-color ".blue") - (style :balloon) (timeout nil)) + (style :balloon) (timeout nil) following) (setf text) (setf stroke-color) + (setf following) (setf background-color) (setf