Skip to content

Commit

Permalink
refact: move classes into engine package
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphoriker committed Dec 19, 2024
1 parent 4fdaa5d commit 7627067
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package de.metaphoriker.pathetic.bukkit;

import de.metaphoriker.pathetic.Pathetic;
import de.metaphoriker.pathetic.engine.Pathetic;
import de.metaphoriker.pathetic.bukkit.listener.ChunkInvalidateListener;
import de.metaphoriker.pathetic.bukkit.util.BukkitVersionUtil;
import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;
import org.bukkit.Bukkit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import de.metaphoriker.pathetic.api.wrapper.PathEnvironment;
import de.metaphoriker.pathetic.api.wrapper.PathPosition;
import de.metaphoriker.pathetic.api.wrapper.PathVector;
import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;

@UtilityClass
public class BukkitMapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import de.metaphoriker.pathetic.bukkit.util.BukkitVersionUtil;
import de.metaphoriker.pathetic.bukkit.util.ChunkUtil;
import de.metaphoriker.pathetic.resolver.ChunkDataProviderResolver;
import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.metaphoriker.pathetic.bukkit.provider.world;

import de.metaphoriker.pathetic.util.ExpiringHashMap;
import de.metaphoriker.pathetic.engine.util.ExpiringHashMap;
import java.util.Map;
import java.util.Optional;
import org.bukkit.ChunkSnapshot;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.metaphoriker.pathetic.bukkit.util;

import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import lombok.SneakyThrows;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.metaphoriker.pathetic.bukkit.util;

import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import lombok.experimental.UtilityClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import de.metaphoriker.pathetic.api.pathing.configuration.HeuristicWeights;
import de.metaphoriker.pathetic.api.wrapper.PathPosition;
import de.metaphoriker.pathetic.api.wrapper.PathVector;
import de.metaphoriker.pathetic.util.ComputingCache;
import de.metaphoriker.pathetic.engine.util.ComputingCache;

@Getter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.metaphoriker.pathetic;
package de.metaphoriker.pathetic.engine;

import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import lombok.Getter;
import lombok.experimental.UtilityClass;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import de.metaphoriker.pathetic.api.wrapper.PathVector;
import de.metaphoriker.pathetic.engine.Node;
import de.metaphoriker.pathetic.engine.Offset;
import de.metaphoriker.pathetic.util.ExpiringHashMap;
import de.metaphoriker.pathetic.util.GridRegionData;
import de.metaphoriker.pathetic.util.Tuple3;
import de.metaphoriker.pathetic.engine.util.ExpiringHashMap;
import de.metaphoriker.pathetic.engine.util.GridRegionData;
import de.metaphoriker.pathetic.engine.util.Tuple3;
import java.util.*;
import org.jheaps.tree.FibonacciHeap;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import de.metaphoriker.pathetic.engine.Node;
import de.metaphoriker.pathetic.engine.result.PathImpl;
import de.metaphoriker.pathetic.engine.result.PathfinderResultImpl;
import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import de.metaphoriker.pathetic.api.pathing.result.Path;
import de.metaphoriker.pathetic.api.util.ParameterizedSupplier;
import de.metaphoriker.pathetic.api.wrapper.PathPosition;
import de.metaphoriker.pathetic.util.ErrorLogger;
import de.metaphoriker.pathetic.engine.util.ErrorLogger;

@Value
public class PathImpl implements Path {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.metaphoriker.pathetic.util;
package de.metaphoriker.pathetic.engine.util;

import java.util.function.Supplier;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.metaphoriker.pathetic.util;
package de.metaphoriker.pathetic.engine.util;

import lombok.extern.slf4j.Slf4j;
import de.metaphoriker.pathetic.Pathetic;
import de.metaphoriker.pathetic.engine.Pathetic;

@Slf4j
public class ErrorLogger {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.metaphoriker.pathetic.util;
package de.metaphoriker.pathetic.engine.util;

import java.util.concurrent.ConcurrentHashMap;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.metaphoriker.pathetic.util;
package de.metaphoriker.pathetic.engine.util;

import com.google.common.hash.BloomFilter;
import com.google.common.hash.Funnel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.metaphoriker.pathetic.util;
package de.metaphoriker.pathetic.engine.util;

import java.util.Objects;

Expand Down

0 comments on commit 7627067

Please sign in to comment.