Package dev.gothickit.zenkit.way
Class NativeWayPoint
java.lang.Object
dev.gothickit.zenkit.way.NativeWayPoint
- All Implemented Interfaces:
CacheableObject<CachedWayPoint>,NativeObject,WayPoint
-
Method Summary
Modifier and TypeMethodDescription@NotNull CachedWayPointcache()@NotNull Vec3fbooleanstatic @Nullable NativeWayPointfromNativeHandle(com.sun.jna.Pointer handle) @NotNull com.sun.jna.PointerbooleanisCached()@NotNull Stringname()@NotNull Vec3fposition()booleanint
-
Method Details
-
fromNativeHandle
@Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeWayPoint fromNativeHandle(com.sun.jna.Pointer handle) -
name
-
waterDepth
public int waterDepth()- Specified by:
waterDepthin interfaceWayPoint
-
underWater
public boolean underWater()- Specified by:
underWaterin interfaceWayPoint
-
position
-
direction
-
freePoint
public boolean freePoint() -
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-
cache
- Specified by:
cachein interfaceCacheableObject<CachedWayPoint>
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceCacheableObject<CachedWayPoint>
-