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

org.dc.riot.lol.rx.model.staticdata.MasteryTreeDto Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.dc.riot.lol.rx.model.staticdata;

/**
 * This object contains mastery tree data. i.e. mastery pages.
*
* Getters of this class will return empty lists for undefined * values. * * @author Dc * @since 1.0.0 */ public class MasteryTreeDto { private static long COUNT = 0; public static long getInstanceCount() { return COUNT; } private MasteryTreeListDto[] Resolve; private MasteryTreeListDto[] Ferocity; private MasteryTreeListDto[] Cunning; public MasteryTreeDto() { COUNT++; } /** * @return Defense masteries. */ public MasteryTreeListDto[] getResolve() { if (Resolve == null) { return new MasteryTreeListDto[0]; } return Resolve; } /** * @return Offense masteries. */ public MasteryTreeListDto[] getFerocity() { if (Ferocity == null) { return new MasteryTreeListDto[0]; } return Ferocity; } /** * @return Utility masteries. */ public MasteryTreeListDto[] getCunning() { if (Cunning == null) { return new MasteryTreeListDto[0]; } return Cunning; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy