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())); }
static void fun_boardCreated(int boardId) { Console.WriteLine("Board {0} created", boardId); printBoardImage(DllInterface.getBoardImage(boardId)); }