add https://lib.haxe.org/p/hx-color-trace/ for trace() in colors !
This commit is contained in:
@@ -16,6 +16,7 @@ import feathers.text.TextFormat;
|
||||
import model.Constants;
|
||||
import openfl.Assets;
|
||||
import openfl.text.Font;
|
||||
import t9.util.ColorTraces.*;
|
||||
|
||||
class LPTCManager2026 extends Application {
|
||||
|
||||
@@ -27,6 +28,7 @@ class LPTCManager2026 extends Application {
|
||||
// private var nav:StackNavigator;
|
||||
|
||||
public function new() {
|
||||
|
||||
super();
|
||||
|
||||
addEventListener(FeathersEvent.CREATION_COMPLETE, onCreationComplete);
|
||||
@@ -87,17 +89,17 @@ class LPTCManager2026 extends Application {
|
||||
|
||||
// nav = new StackNavigator();
|
||||
|
||||
trace(this, "--> initialize()");
|
||||
traceBlue(this + " --> initialize()");
|
||||
}
|
||||
|
||||
private function loadRiders():Void {
|
||||
trace(this + " --> loadRiders()");
|
||||
traceGreen(this + " --> loadRiders()");
|
||||
var cgEvent:LoadRidersEvent = new LoadRidersEvent();
|
||||
CairngormEventDispatcher.getInstance().dispatchEvent(cgEvent);
|
||||
}
|
||||
|
||||
private function onCreationComplete(event:FeathersEvent):Void {
|
||||
trace(this + " --> onCreationComplete()");
|
||||
traceBlue(this + " --> onCreationComplete()");
|
||||
loadRiders();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user