资源介绍
cocoslua搓牌源码
local GameCuoCardLayer = class("GameCuoCardLayer", function()
local gameLayer = cc.LayerColor:create(cc.c4b(0, 0, 0, 125))
return gameLayer
end)
function GameCuoCardLayer:create()
local layer = GameCuoCardLayer:new(self);
self.m_pListenerNodes = {}; -- 监听的牌
self.m_pShowedNode = {}; -- 已经显示出来的牌
layer:init()
return layer;
end