📄 gouyuengine.h
字号:
#ifndef ENGINE_H
#define ENGINE_H
#include "Card.h"
#include "Player.h"
#include <e32std.h>
class CGouYuAppView;
class Player;
class CCard;
class CEngine
{
public:
static CEngine* NewLC(/*CGouYuAppView* aAppView*/);
static CEngine* NewL(/*CGouYuAppView* aAppView*/);
CEngine(/*CGouYuAppView * aAppView*/);
~CEngine();
void ConstructL(/*CGouYuAppView * aAppView*/);
public:
CCard* cards;
Player * players;
CCard* GetCard(TInt cid);
void GenerateCards();
void DealCards();
void CountPoint(TInt i);
TInt CompareScore(TInt i,TInt j);
RArray<TInt> table_cards;
TInt iCurrentSelectedCard;
TInt ifishselectedcard;
TInt isGiveup;
TInt is_select;
TInt is_success;
TInt not_success;
TInt8 *temp;
//已发出的牌数(开始发牌的数组位置)
TInt iPos;
void Start();
void Initial();
TInt first_compare();
TInt activeplayer;
TInt yPos1;
TInt yPos2;
TInt ctrl_1;
TInt isok;
RArray<TInt> iSelectedCardsArray;
// RArray<TInt> i_table_SelectedCardsArray;
TInt iPos_count;
TInt i_table;
TInt ax ;
TInt ay ;
// TInt counting ;
// TInt deal_label ;
// CGouYuAppView* iAppView;
TInt8 iPlayerNum;//玩家身份, master=0, slave=1
void SetPlayerNum(TInt8 aNum);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -