WIP make NAT playgrounds component-based (#124)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user