WIP make NAT playgrounds component-based (#124)

This commit is contained in:
2022-09-28 20:36:40 +00:00
parent f63e36ed9f
commit b76fb12d15
7 changed files with 48 additions and 16 deletions

View File

@@ -8,9 +8,8 @@ import nat.ArchiveController;
import nat.ArchiveUI;
import nat.Archive;
import nat.Entry;
import nat.components.Position;
import nat.components.*;
using kiss_flixel.CameraTools;
import nat.components.Positions;
import nat.systems.PlaygroundSystem;
import flixel.util.FlxSort;

View File

@@ -32,7 +32,8 @@
(controller.DeSelectEntry e)
}))
(method &override :Void clear []
(method &override :Void clear [:Color color]
(set playState.bgColor (FlxColor.fromRGBFloat color.r color.g color.b color.a))
(playState.debugLayer.clear)
(sprites.clear)
(playState.entryGroup.kill)