Skip to content

Commit

Permalink
♻️ Move Pf2eAction into Json2QuteAction
Browse files Browse the repository at this point in the history
  • Loading branch information
miscoined authored and ebullient committed Jun 2, 2024
1 parent 65df7dd commit d6c0779
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ protected QuteAction buildQuteResource() {
actionType == null ? null : actionType.build(this));
}

public enum Pf2eAction implements Pf2eJsonNodeReader {
activity,
actionType,
cost,
frequency,
info,
prerequisites,
trigger
}

@RegisterForReflection
static class ActionType {
public Boolean basic;
Expand Down
10 changes: 0 additions & 10 deletions src/main/java/dev/ebullient/convert/tools/pf2e/Pf2eTypeReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@

public interface Pf2eTypeReader extends JsonSource {

enum Pf2eAction implements Pf2eJsonNodeReader {
activity,
actionType,
cost,
frequency,
info,
prerequisites,
trigger
}

enum Pf2eAlignmentValue implements Pf2eJsonNodeReader.FieldValue {
ce("Chaotic Evil"),
cg("Chaotic Good"),
Expand Down

0 comments on commit d6c0779

Please sign in to comment.