Package com.prineside.tdi2
Class Ability.Factory<T extends Ability>
java.lang.Object
com.prineside.tdi2.Ability.Factory<T>
- All Implemented Interfaces:
EntityFactory
- Direct Known Subclasses:
BallLightningAbility.BallLightningAbilityFactory,BlizzardAbility.BlizzardAbilityFactory,BulletWallAbility.BulletWallAbilityFactory,FireballAbility.FireballAbilityFactory,FirestormAbility.FirestormAbilityFactory,LoicAbility.LoicAbilityFactory,MagnetAbility.MagnetAbilityFactory,NukeAbility.NukeAbilityFactory,OverloadAbility.OverloadAbilityFactory,SmokeBombAbility.SmokeBombAbilityFactory,ThunderAbility.ThunderAbilityFactory,WindstormAbility.WindstormAbilityFactory
- Enclosing class:
- Ability
public abstract static class Ability.Factory<T extends Ability>
extends Object
implements EntityFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tcreate()abstract ColorgetColor()abstract Colorabstract TextureRegionDrawableintgetPriceInGreenPapers(int currentCount) intgetPriceInResources(ResourceType resourceType, int currentCount) getTitle()abstract booleanvoidsetup()void
-
Field Details
-
abilityType
-
-
Constructor Details
-
Factory
-
-
Method Details
-
setup
public void setup() -
setupAssets
public void setupAssets() -
create
-
requiresMapPointing
public abstract boolean requiresMapPointing() -
getColor
-
getDarkerColor
-
getTitle
-
getFancyTitle
-
getDescription
-
getIconDrawable
-
getPriceInGreenPapers
public int getPriceInGreenPapers(int currentCount) -
getPriceInResources
-