Drawer related refactoring :
- removed NekoDrawerEvent Button related refactoring : - removed NekoIconButton
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
package control;
|
||||
|
||||
import command.NekoDrawerCommand;
|
||||
import components.NekoDrawer;
|
||||
import command.CloseDrawerCommand;
|
||||
import command.LoadRidersCommand;
|
||||
import command.OpenDrawerCommand;
|
||||
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 static final OPEN_DRAWER_EVENT = "openDrawerEvent";
|
||||
public static final CLOSE_DRAWER_EVENT = "closeDrawerEvent";
|
||||
|
||||
|
||||
public function new() {
|
||||
super();
|
||||
addCommand(AppController.LOAD_RIDERS_EVENT, LoadRidersCommand);
|
||||
addCommand(AppController.NEKO_DRAWER_EVENT, NekoDrawerCommand);
|
||||
addCommand(AppController.OPEN_DRAWER_EVENT, OpenDrawerCommand);
|
||||
addCommand(AppController.CLOSE_DRAWER_EVENT, CloseDrawerCommand);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user