Browse Source

Added constructor to Ability

zockerFirstDesign
Felix Stupp 2 years ago
parent
commit
26e1bba46f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/de/banananetwork/dsa/abilities/Ability.java

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

@ -12,6 +12,11 @@ public class Ability implements Descriptiable, AdventurePointsPriceLabeled, HasR
private final int apCosts;
private final Requirement requirement;
public Ability(Description description, int apCosts, Requirement requirement) {
this.description = description;
this.apCosts = apCosts;
this.requirement = requirement;
}
@Override
public Description getDescription() {


Loading…
Cancel
Save