first try of drawer event chain

currently stuck in NekoDrawerCommand
TODO : extract the event from NekoDrawerCommand
This commit is contained in:
2025-11-19 14:48:54 +01:00
parent 28c36c699a
commit a6e2e7aa58
8 changed files with 125 additions and 18 deletions
+4
View File
@@ -1,13 +1,17 @@
package control;
import command.NekoDrawerCommand;
import components.NekoDrawer;
import command.LoadRidersCommand;
import com.adobe.cairngorm.control.FrontController;
class AppController extends FrontController {
public static final LOAD_RIDERS_EVENT = "loadRidersEvent";
public static final NEKO_DRAWER_EVENT = "nekoDrawerEvent";
public function new() {
super();
addCommand(AppController.LOAD_RIDERS_EVENT, LoadRidersCommand);
addCommand(AppController.NEKO_DRAWER_EVENT, NekoDrawerCommand);
}
}