aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interactive/frameset.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive/frameset.lisp')
-rw-r--r--src/interactive/frameset.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interactive/frameset.lisp b/src/interactive/frameset.lisp
index 51c7ecd..a8ba079 100644
--- a/src/interactive/frameset.lisp
+++ b/src/interactive/frameset.lisp
@@ -67,6 +67,9 @@
(def-frameset-accessors x y scale-x scale-y width height rotation))
+(defmethod get-rect ((fs frameset))
+ (get-rect (current-frame-unit fs)))
+
(defun make-frameset (sequenced-assets &key (fps 2) asset-args)
(let* ((asset-names
(remove-duplicates sequenced-assets :test #'equal))