以下是IPlayStrategy接口实现的VB.net例子- Public Class PlayStrateryDemo
- Implements GrapeCity.Competition.Gomoku.Core.IPlayStrategy
- Public Function GetNextStep(ByVal chessBoard As GrapeCity.Competition.Gomoku.Core.IChessBoard, ByVal pieceType As GrapeCity.Competition.Gomoku.Core.PieceTypeEnum, ByVal stepIndex As Integer, ByVal prevStep As GrapeCity.Competition.Gomoku.Core.PlayStep?) As GrapeCity.Competition.Gomoku.Core.ChessBoardPoint Implements GrapeCity.Competition.Gomoku.Core.IPlayStrategy.GetNextStep
- ' TODO
- End Function
- End Class
复制代码 |