aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interactive/sprite.lisp
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2024-12-10 07:11:02 -0800
committercolin <colin@cicadas.surf>2024-12-14 08:35:58 -0800
commit8a51ba81c7df6b0b6dab7cf4b35b5ca084b653ba (patch)
tree23f5f0a5449a06473aba2ec7914a3c2193823a10 /src/interactive/sprite.lisp
parent2cbb8e4114c860e1774efd40d18661aee8ab2a72 (diff)
Replaced defclass-std with defrefactor-with-def
Diffstat (limited to 'src/interactive/sprite.lisp')
-rw-r--r--src/interactive/sprite.lisp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/interactive/sprite.lisp b/src/interactive/sprite.lisp
index 68f8a8d..dd9b2a1 100644
--- a/src/interactive/sprite.lisp
+++ b/src/interactive/sprite.lisp
@@ -2,9 +2,11 @@
(in-package #:wheelwork)
-(defclass/std sprite (unit interactive)
- ((framesets :with :doc "A PLIST whose values are framesets.")
- (frameset-key :with :doc "The current name of the frameset being displayed.")))
+(def:class sprite (unit interactive)
+ ((framesets "A PLIST whose values are framesets")
+ :required :prefix)
+ ((frameset-key "The name of the current frameset being displayed")
+ :required :prefix))
(defun current-frameset (sprite)
"Returns the current FRAMESET instance being displayed on SRPITE."