コード例 #1
0
        static void fun_playerMoved(int playerId)
        {
            Point      point  = DllInterface.getLastShotPoint();
            ShotResult result = DllInterface.getLastShotResult();

            Console.WriteLine("Player " + playerId + " shooted field (" + point.x + ", " + point.y + ") with result: " + result + ".");
            printBoardImage(DllInterface.getBoardImage(DllInterface.getLastShotBoard()));
            //printShipList(DllInterface.getShipList(DllInterface.getLastShotBoard()));
        }