Updated base structure

jimFirstDesign
Felix Stupp 6 years ago
parent 9273ffd554
commit c5be34bab5

@ -0,0 +1,22 @@
package de.banananetwork.dsa;
import de.banananetwork.dsa.currencies.Currency;
import de.banananetwork.dsa.modifications.Modification;
import de.banananetwork.dsa.professions.Profession;
import de.banananetwork.dsa.species.Species;
import java.util.List;
public class Regulations {
List<Currency> currencies;
List<Modification> modifications;
List<Profession> professions;
List<Species> species;
// TODO Zauber
// TODO Liturgen
// TODO Artefakte
// TODO Ausrüstung
// TODO Waffen
}

@ -0,0 +1,29 @@
package de.banananetwork.dsa.characters;
import de.banananetwork.dsa.Regulations;
import de.banananetwork.dsa.cultures.Culture;
import de.banananetwork.dsa.modifications.Modification;
import de.banananetwork.dsa.professions.Profession;
import de.banananetwork.dsa.species.Species;
import java.util.List;
public class Character {
Regulations regulations;
String name;
Species species;
Culture culture;
Profession profession;
List<Modification> modifications;
// TODO Skills
// TODO Zauber
// TODO Liturgen
// TODO Ausrüstung
// TODO Waffen
int money;
}

@ -0,0 +1 @@
package de.banananetwork.dsa.characters;

@ -0,0 +1,5 @@
package de.banananetwork.dsa.cultures;
public class Culture {
}

@ -0,0 +1,7 @@
package de.banananetwork.dsa.general;
public interface Descriptiable {
Description getDescription();
}

@ -0,0 +1,21 @@
package de.banananetwork.dsa.general;
public class Description {
private final String title;
private final String description;
public Description(String title, String description) {
this.title = title;
this.description = description;
}
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
}

@ -0,0 +1,21 @@
package de.banananetwork.dsa.modifications;
import de.banananetwork.dsa.general.Descriptiable;
import de.banananetwork.dsa.general.Description;
public class Modification implements Descriptiable {
private final Kind kind;
private final Description description;
@Override
public Description getDescription() {
return description;
}
public enum Kind {
ADVANTAGE, DISADVANTAGE
}
}

@ -0,0 +1,5 @@
package de.banananetwork.dsa.professions;
public class Profession {
}

@ -0,0 +1,7 @@
package de.banananetwork.dsa.reqiurements;
public interface AdventurePointsPriceLabeled {
int getRequiredAdventurePoints();
}

@ -0,0 +1,6 @@
package de.banananetwork.dsa.reqiurements
class Requirement {
}

@ -0,0 +1,5 @@
package de.banananetwork.dsa.species;
public class Species {
}

@ -0,0 +1 @@
package de.banananetwork.dsa.species;
Loading…
Cancel
Save