Interface Rotatable
-
- All Known Subinterfaces:
Actor
,GameObject
,Npc
,Player
,Projectile
- All Known Implementing Classes:
BoundingModel
,CompositeCacheModel
,CompositeModel
,Model
,OSRSGameObject
,OSRSModel
,OSRSNpc
,OSRSPlayer
,OSRSProjectile
,RemoteModel
,RSModel
,SummonedFamiliar
public interface Rotatable
An entity that can be rotated
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getHighPrecisionOrientation()
For internal usage only.int
getOrientationAsAngle()
Gets the current orientation as an angle.default boolean
isFacing(Locatable locatable)
Checks if this rotatable entity is facing a locatable object
-
-
-
Method Detail
-
getHighPrecisionOrientation
int getHighPrecisionOrientation()
For internal usage only. Subject to removal without notice.
-
getOrientationAsAngle
int getOrientationAsAngle()
Gets the current orientation as an angle.
-
isFacing
default boolean isFacing(Locatable locatable)
Checks if this rotatable entity is facing a locatable object
-
-