All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.xhsun.guildwars2wrapper.model.unlockable.Glider Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package me.xhsun.guildwars2wrapper.model.unlockable;

import me.xhsun.guildwars2wrapper.model.Color;

import java.util.Arrays;
import java.util.List;

/**
 * For more info on gliders API go here
* Model class for glider * * @author xhsun * @since 2017-06-06 */ public class Glider extends Unlockable { private String description; private List default_dyes;//color id //TODO method that give striped description, ie, no html public String getDescription() { return description; } /** * @return array of {@link Color} id(s) */ public List getDefaultDyes() { return default_dyes; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Glider glider = (Glider) o; return getId() == glider.getId(); } @Override public int hashCode() { return getId(); } @Override public String toString() { return "Glider{" + "id=" + getId() + ", unlock_items=" + Arrays.toString(getUnlockItems()) + ", order=" + getOrder() + ", icon='" + getIcon() + '\'' + ", name='" + getName() + '\'' + ", description='" + description + '\'' + ", default_dyes=" + default_dyes + '}'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy