Browse Source

Added class Ability

jimFirstDesign
Felix Stupp 2 years ago
parent
commit
1d230f0872
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      src/de/banananetwork/dsa/abilities/Ability.java

+ 30
- 0
src/de/banananetwork/dsa/abilities/Ability.java View File

@ -0,0 +1,30 @@
package de.banananetwork.dsa.abilities;
import de.banananetwork.dsa.descriptions.Descriptiable;
import de.banananetwork.dsa.descriptions.Description;
import de.banananetwork.dsa.requirements.AdventurePointsPriceLabeled;
import de.banananetwork.dsa.requirements.HasRequirement;
import de.banananetwork.dsa.requirements.Requirement;
public class Ability implements Descriptiable, AdventurePointsPriceLabeled, HasRequirement {
private final Description description;
private final int apCosts;
private final Requirement requirement;
@Override
public Description getDescription() {
return description;
}
@Override
public int getRequiredAdventurePoints() {
return apCosts;
}
@Override
public Requirement getRequirement() {
return requirement;
}
}

Loading…
Cancel
Save