1、清理仓库

This commit is contained in:
贝密游戏
2017-12-21 23:04:13 +08:00
parent eeb1c9e07b
commit b52d442381
1317 changed files with 138642 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// default: null, // The default value will be used only when the component attaching
// to a node for the first time
// url: cc.Texture2D, // optional, default is typeof default
// serializable: true, // optional, default is true
// visible: true, // optional, default is true
// displayName: 'Foo', // optional
// readonly: false, // optional, default is false
// },
// ...
},
// use this for initialization
onLoad: function () {
},
/**
* 结算页面上的 背景的 点击事件,主要是用于事件拦截,禁用冒泡
* @param event
*/
onBGClick:function(event){
event.stopPropagation();
},
/**
* 结算页面上的关闭按钮 的 点击事件 , 关闭按钮 和 继续按钮 功能是一样的,都是继续游戏
*/
onCloseClick:function(){
/**
* 发射事件到 上一级 处理
*/
this.node.dispatchEvent( new cc.Event.EventCustom("close", true) );
},
/**
* 结算页面上的关闭按钮 的 点击事件 , 关闭按钮 和 继续按钮 功能是一样的,都是继续游戏
*/
onBeginClick:function(){
/**
* 发射事件到 上一级 处理
*/
this.node.dispatchEvent( new cc.Event.EventCustom("begin", true) );
}
// called every frame, uncomment this function to activate update callback
// update: function (dt) {
// },
});

View File

@@ -0,0 +1,9 @@
{
"ver": "1.0.5",
"uuid": "72e3d27d-f87c-4edf-abfc-e7e046ffae1a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}