1234567891011121314151617181920212223242526272829303132 |
- let baseLayer = require('BaseLayer');
- import EventMgr from '../base/EventMgr';
- import Tool from '../base/Tool';
- cc.Class({
- extends: baseLayer,
- properties: {
-
- },
- // LIFE-CYCLE CALLBACKS:
- onLoad () {
- this._super();
- },
- start () {
- this.registerListener('action1', this.onMsg1);
- },
- onMsg1(data){
- console.log('msg1: ', data);
- },
- onClickClose(){
- this.onClose();
- }
- // update (dt) {},
- });
|