diff options
Diffstat (limited to 'src/interactive/sprite.lisp')
-rw-r--r-- | src/interactive/sprite.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interactive/sprite.lisp b/src/interactive/sprite.lisp index 81f5715..03bba8d 100644 --- a/src/interactive/sprite.lisp +++ b/src/interactive/sprite.lisp @@ -40,3 +40,6 @@ `(progn ,@defs)))) (def-sprite-accessors x y scale-x scale-y width height rotation)) + +(defmethod get-rect ((sprite sprite)) + (get-rect (current-frameset sprite))) |