public void printLocation() { txtTranscript.insert( "You are at location " + row + "," + col + " in terrain: " + myMap.terrainTypes.get(Character.toString(myMap.terrain(row, col))) + "\n", txtTranscript.getText().length()); if (myMap.terrain(row, col) == '*') { Dragon found = new Dragon(); found.Dragon(); } }