IPathProvider interface

Пакет: com.hypixel.hytale.server.npc.sensorinfo

Файл: com/hypixel/hytale/server/npc/sensorinfo/IPathProvider.java

extends: ExtraInfoProvider

Методы (2)

МодификаторыВозвратСигнатура
abstract void clearvoid clear()
abstract boolean hasPathboolean hasPath()

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.server.npc.sensorinfo;

class="kw">import com.hypixel.hytale.server.core.universe.world.path.IPath;
class="kw">import com.hypixel.hytale.server.core.universe.world.path.IPathWaypoint;
class="kw">import javax.annotation.Nonnull;
class="kw">import javax.annotation.Nullable;

class="kw">public class="kw">interface IPathProvider class="kw">extends ExtraInfoProvider {
   boolean hasPath();

   @Nullable
   IPath<? class="kw">extends IPathWaypoint> getPath();

   void clear();

   @Nonnull
   @Override
   class="kw">default Class<IPathProvider> getType() {
      class="kw">return IPathProvider.class;
   }
}