cards.h
来自「打牌游戏引擎 」· C头文件 代码 · 共 38 行
H
38 行
/*
* cards.h
*
* Created on: 2009-4-13
* Author: pengphy
*/
#ifndef CARDS_H_
#define CARDS_H_
#include<e32base.h>
class CCards : CBase
{
public:
static CCards* NewL(TInt);
static CCards* NewLC(TInt);
TInt Deal();
TBuf<20> CardName(TInt); // return card's name
void shuffle();
~CCards(); // destuctor
private:
void ConstructL();
CCards(); // default constructor
CCards(TInt); // constructor with parameter
private:
// data
// TInt iDeck[52];
TInt iNextCard;
TInt iNumPack;
TInt* iDeck;
TBuf<20> iCardName;
};
#endif /* CARDS_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?