public void setVals(int e, int c, int a, int d, int l) { energy = e; cost = c; attack = a; defense = d; level = 1; if (e > 0) { sideType = eSideType.ENERGY; } else if (c > 0 || a > 0 || d > 0) { sideType = eSideType.SUMMONABLE; } else { sideType = eSideType.CASTABLE; } }
public void setVals(int e, int c, int a, int d, int l) { energy = e; cost = c; attack = a; defense = d; level = 1; if (e > 0) sideType = eSideType.ENERGY; else if (c > 0 || a > 0 || d > 0) sideType = eSideType.SUMMONABLE; else sideType = eSideType.CASTABLE; }