/** * Places the beautiful city on it's designated spot. * * @pre the Can do is true * @param vertexLocation * @throws Exception * @post a city is placed on a vertex */ public void placeCityOnVertex(VertexLocation vertexLocation) throws Exception { if (canDoPlaceCityOnVertex(vertexLocation)) { board.placeCityOnVertex(currentPlayer, vertexLocation); versionNumber++; versionNumber++; } else throw new Exception( "Cannot build City on this vertex, this should not have been allowed to get this far."); }