35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
export default class xxxFacade extends Facade {
|
|
static NAME:string = "xxxFacade";
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
initializeFacade() {
|
|
super.initializeFacade();
|
|
}
|
|
|
|
initializeModel() {
|
|
super.initializeModel();
|
|
/* this.registerProxy(new PokerModel());
|
|
this.registerProxy(new DdzGameModel()); */
|
|
}
|
|
|
|
initializeController() {
|
|
super.initializeController();
|
|
/* this.registerCommand(BackInGameCMD.NAME, BackInGameCMD); */
|
|
|
|
}
|
|
|
|
initializeView() {
|
|
super.initializeView();
|
|
/* this.registerMediator(new OutPokerListMediator(DdzFacade.sRootView.getComponent(DdzGameScene).outPokerListArr));
|
|
this.registerMediator(new HandPokerListMediator(DdzFacade.sRootView.getComponent(DdzGameScene).handPokerList));
|
|
this.registerMediator(new RevealPokerListMediator(DdzFacade.sRootView.getComponent(DdzGameScene).revealPokerListArr));
|
|
this.registerMediator(new DdzGameMediator(DdzFacade.sRootView)); */
|
|
}
|
|
|
|
|
|
static init(view:cc.Node = null): xxxFacade {
|
|
return Facade.getInstance();
|
|
}
|
|
} |