package eco; 

public class Trade {
	public static int stockPile;
	
    public static int stockPile(int tWheat){
        stockPile = stockPile + tWheat;
        //I know for a fact that this is not what Will wants
        //so it's for sure crap and needs to be changed.
        }
    

}

package eco; 

public class Trade {
	public static int stockPile;
	
    public static int stockPile(int tWheat){
        stockPile = stockPile + tWheat;
        //I know for a fact that this is not what Will wants
        //so it's for sure crap and needs to be changed.
        return stockPile;
        }
    

}

Update Trade.java