public int[] getStats() { int[] values = exp1.getStats(); int[] add = exp2.getStats(); values[0] = values[0] + add[0]; return(values); }
public int[] getStats() { int[] stats = children.getStats(); foreach (CheatComponent cheat in cheats) { int[] s1 = cheat.getStats(); stats[0] += s1[0]; stats[1] += s1[1]; stats[2] += s1[2]; stats[3] += s1[3]; } return(stats); }