public int[] getPlacementResourceCards(Coordinate coord) {
	    coord = coord.normalizeCoordinate();
	    
	    int cardsEarned[] = new int[5];
	    for (int i = 0; i < cardsEarned.length; i++) {
	        cardsEarned[i] = 0;
	    }
	    
	    // Get the node at the coordinate
	    Node settlementLocation = nodeSet.get(coord);
	    
	    if (settlementLocation != null && settlementLocation.hasSettlement()) {
	        // Obtain the three bordering tiles
	        Coordinate neighboringTiles[] = new Coordinate[3];
	        
	        if (coord.z == 0) {
	            neighboringTiles[0] = new Coordinate(coord.x, coord.y, 0);
	            neighboringTiles[1] = new Coordinate(coord.x + 1, coord.y, 0);
	            neighboringTiles[2] = new Coordinate(coord.x + 1, coord.y - 1,
	                                                 0);
	        } else {
	            neighboringTiles[0] = new Coordinate(coord.x, coord.y, 0);
                neighboringTiles[1] = new Coordinate(coord.x, coord.y + 1, 0);
                neighboringTiles[2] = new Coordinate(coord.x + 1, coord.y, 0);
	        }
	        
	        // Add the resources, if any
	        for (Coordinate tileCoord : neighboringTiles) {
                
                Tile tile = tileSet.get(tileCoord);
                if (tile != null) {
                    cardsEarned[tile.getTileType().getIndex()]++;
                }
            }
	    }
	    
	    return cardsEarned;
	}