diff options
author | David Thompson <davet@gnu.org> | 2019-05-07 16:52:58 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2019-05-07 16:52:58 -0400 |
commit | 3bc54d585792f7cdcb2686623286d32cfba15e26 (patch) | |
tree | 5e4d8eda551b5a260d7e7f346e88fb77a302b501 | |
parent | 38d4745df23fa81448e8b3bdcb3416ecab6b4891 (diff) |
Add <scene-2d> convenience class.
-rw-r--r-- | starling/node-2d.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm index 7ae9a30..edb8f46 100644 --- a/starling/node-2d.scm +++ b/starling/node-2d.scm @@ -42,6 +42,7 @@ #:use-module (starling asset) #:use-module (starling kernel) #:use-module (starling node) + #:use-module (starling scene) #:export (<camera-2d> target offset @@ -56,6 +57,8 @@ <canvas> views + <scene-2d> + <node-2d> origin position @@ -220,6 +223,13 @@ ;;; +;;; 2D Scene +;;; + +(define-class <scene-2d> (<scene> <canvas>)) + + +;;; ;;; 2D Game Node ;;; |