diff options
-rw-r--r-- | starling/kernel.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/starling/kernel.scm b/starling/kernel.scm index 078b6df..5187bc1 100644 --- a/starling/kernel.scm +++ b/starling/kernel.scm @@ -65,10 +65,12 @@ #:re-export (abort-game)) (define-class <window-config> () - (width #:accessor width #:init-form 640) - (height #:accessor height #:init-form 480) - (title #:accessor title #:init-form "Made with Starling Game Engine") - (fullscreen? #:accessor fullscreen? #:init-form #f)) + (width #:accessor width #:init-form 640 #:init-keyword #:width) + (height #:accessor height #:init-form 480 #:init-keyword #:height) + (title #:accessor title #:init-form "Made with Starling Game Engine" + #:init-keyword #:title) + (fullscreen? #:accessor fullscreen? #:init-form #f + #:init-keyword #:fullscreen?)) (define-class <kernel> (<node>) (name #:accessor name #:init-form "starling-kernel") |