I am trying to move the content of xp to skillXp, and I am getting this error "Cannot make a static reference to the non-static field xp"
How can I put the contents of non static var xp, into static var skillXp?
Any help or advice would be great
Here's what I have
private final double xp[] = new double[SKILL_NUMBER]; public static double skillXp[] = new double[SKILL_NUMBER]; public static void setNewXP (int skillid) { skillXp[skillid] = xp[skillid]; }