Exemplo n.º 1
0
        public GameAI(frmTicTacToe objForm)
        {
            //_____________________________________________________________________________________________
            //
            // Gets main form reference, who is CPU, who is player and
            // difficulty
            //_____________________________________________________________________________________________

            objTicTacToe = objForm;
            wTypeCPU     = objTicTacToe.wTypeCPU;
            wTypePlayer  = objTicTacToe.wTypePlayer;
            wDifficulty  = objTicTacToe.wDifficulty;
        }
Exemplo n.º 2
0
 public static extern int ISMS_GetVideoDetailInfo(int lPlayHandle, ref StructDataDef.stVideoDetailInfo stDetail, enPlayType enType);  // C++中是long  C#中为int
Exemplo n.º 3
0
 public static extern int ISMS_GetVolume(int lPlayHandle, enPlayType enType);     // C++中是long  C#中为int
Exemplo n.º 4
0
 public static extern int ISMS_CloseSound(int lPlayHandle, enPlayType enType);     // C++中是long  C#中为int