OrientationSource enum

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

Файл: com/hypixel/hytale/server/npc/corecomponents/OrientationSource.java

implements: Supplier<String>

Поля (1)

МодификаторыТипИмя
final String description

Методы (1)

МодификаторыВозвратСигнатура
public String getString get()

Исходный код

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

class="kw">import java.util.function.Supplier;

class="kw">public enum OrientationSource class="kw">implements Supplier<String> {
   Absolute("face the action's configured rotation (world frame)"),
   UseOwner("copy the acting entity's facing"),
   UseTarget("copy the marked target entity's facing"),
   UseSensor("use the sensed position's orientation, falling back to Absolute when none");

   class="kw">private class="kw">final String description;

   OrientationSource(String nullxx) {
      this.description = nullxx;
   }

   class="kw">public String get() {
      class="kw">return this.description;
   }
}