logSprites specify SimpleWindow

This commit is contained in:
2023-09-12 12:53:58 -06:00
parent 0e8fe595b8
commit 3e556127ea
2 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ import flash.utils.ByteArray;
import sys.io.File;
#end
import kiss_flixel.DebugLayer;
import kiss_flixel.SimpleWindow;
enum RelativeCoordinate {
// Negative means to count back from the far edge

View File

@@ -115,6 +115,8 @@
(typeCase [obj]
([:FlxText text]
(_print "${tab}${_idx++}. ${text.text} $(spriteToString text)"))
([:SimpleWindow window]
(_print "${tab}SimpleWindow '${window.title}': $(spriteToString window)"))
([:FlxSprite sprite]
(_print "${tab}${_idx++}. $(spriteToString sprite)"))
([:DebugLayer innerGroup]