Added AP Costs to Aspect

jimFirstDesign
Felix Stupp 6 years ago
parent 13afcc067d
commit a7ff66428a

@ -2,18 +2,24 @@ package de.banananetwork.dsa.aspects;
import de.banananetwork.dsa.general.Descriptiable; import de.banananetwork.dsa.general.Descriptiable;
import de.banananetwork.dsa.general.Description; import de.banananetwork.dsa.general.Description;
import de.banananetwork.dsa.reqiurements.AdventurePointsPriceLabeled;
public class Aspect implements Descriptiable { public class Aspect implements Descriptiable, AdventurePointsPriceLabeled {
private final Kind kind; private final Kind kind;
private final Description description; private final Description description;
private final int apCost;
@Override @Override
public Description getDescription() { public Description getDescription() {
return description; return description;
} }
@Override
public int getRequiredAdventurePoints() {
return apCost;
}
public enum Kind { public enum Kind {
ADVANTAGE, DISADVANTAGE ADVANTAGE, DISADVANTAGE
} }

Loading…
Cancel
Save