rcom10002 / ccgclient

Automatically exported from code.google.com/p/ccgclient
0 stars 1 forks source link

红五与斗地主操作按钮功能重构 #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
仿照推到胡,将红五与斗地主的操作功能按钮的编号放置*Game
.as中

参考PushdownWinGame

/** 操作动作名称,参考地址 http://en.wikipedia.org/wiki/Mahjong */
/** 胡 */
public static const OPTR_WIN:int = 0;
/** 杠 */
public static const OPTR_KONG:int = 1;
/** 碰 */
public static const OPTR_PONG:int = 2;
/** 吃 */
public static const OPTR_CHOW:int = 3;
/** 弃 */
public static const OPTR_GIVEUP:int = 4;
/** 摸 */
public static const OPTR_RAND:int = 5;

Original issue reported on code.google.com by rcom10002 on 27 Aug 2009 at 12:24

GoogleCodeExporter commented 9 years ago

Original comment by songjie8...@gmail.com on 4 Sep 2009 at 6:26