package pk.ajneb97.model.item; import java.util.ArrayList; import java.util.List; public class KitItemPotionData { private boolean upgraded; private boolean extended; private String potionType; private int potionColor; private List potionEffects; public KitItemPotionData(boolean upgraded, boolean extended, String potionType, int potionColor, List potionEffects) { super(); this.upgraded = upgraded; this.extended = extended; this.potionType = potionType; this.potionColor = potionColor; this.potionEffects = potionEffects; } public boolean isUpgraded() { return upgraded; } public void setUpgraded(boolean upgraded) { this.upgraded = upgraded; } public boolean isExtended() { return extended; } public void setExtended(boolean extended) { this.extended = extended; } public String getPotionType() { return potionType; } public void setPotionType(String potionType) { this.potionType = potionType; } public int getPotionColor() { return potionColor; } public void setPotionColor(int potionColor) { this.potionColor = potionColor; } public List getPotionEffects() { return potionEffects; } public void setPotionEffects(List potionEffects) { this.potionEffects = potionEffects; } public KitItemPotionData clone(){ return new KitItemPotionData(upgraded,extended,potionType,potionColor,new ArrayList<>(potionEffects)); } }