first try of drawer event chain
currently stuck in NekoDrawerCommand TODO : extract the event from NekoDrawerCommand
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user