You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
585 B
Java
29 lines
585 B
Java
package de.banananetwork.dsa.aspects;
|
|
|
|
import de.banananetwork.dsa.general.Descriptiable;
|
|
import de.banananetwork.dsa.general.Description;
|
|
import de.banananetwork.dsa.requirements.AdventurePointsPriceLabeled;
|
|
|
|
public class Aspect implements Descriptiable, AdventurePointsPriceLabeled {
|
|
|
|
private final Kind kind;
|
|
private final Description description;
|
|
private final int apCost;
|
|
|
|
|
|
@Override
|
|
public Description getDescription() {
|
|
return description;
|
|
}
|
|
|
|
@Override
|
|
public int getRequiredAdventurePoints() {
|
|
return apCost;
|
|
}
|
|
|
|
public enum Kind {
|
|
ADVANTAGE, DISADVANTAGE
|
|
}
|
|
|
|
}
|