示例#1
0
        public override void EnterState(WorldScreen Game)
        {
            Game.DisplayBoard(Game.CurrentBoard);
            var ghost = 0;

            foreach (var move in Coerceo.EnumerateLegalPieceMoves(SelectedPiece, Game.CurrentBoard))
            {
                var neighbor = Coerceo.FindMoveNeighbor(SelectedPiece, move.Direction);
                Game.ShowGhost(ghost++, SelectedPiece.Triangle % 2, neighbor.Tile, neighbor.Triangle, move);
            }
        }
示例#2
0
文件: AIThink.cs 项目: Blecki/coerceo
        public override void EnterState(WorldScreen Game)
        {
            Game.DisplayBoard(Game.CurrentBoard);

            AsyncTask = AIV2.PickBestMove(Game.CurrentBoard, 8);
        }
示例#3
0
文件: AITurn.cs 项目: Blecki/coerceo
 public override void EnterState(WorldScreen Game)
 {
     Game.DisplayBoard(Game.CurrentBoard);
 }