public class TextureCompass extends TextureAtlasSprite
| Modifier and Type | Field and Description |
|---|---|
double |
angleDelta
Speed and direction of compass rotation
|
double |
currentAngle
Current compass heading in radians
|
| Constructor and Description |
|---|
TextureCompass(String par1Str) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateAnimation() |
void |
updateCompass(World par1World,
double par2,
double par4,
double par6,
boolean par8,
boolean par9)
Updates the compass based on the given x,z coords and camera direction
|
clearFramesTextureData, copyFrom, getFrameCount, getFrameTextureData, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, hasAnimationMetadata, initSprite, load, loadSprite, setFramesTextureData, setIconHeight, setIconWidth, toStringpublic double currentAngle
public double angleDelta
public TextureCompass(String par1Str)
public void updateAnimation()
updateAnimation in class TextureAtlasSpritepublic void updateCompass(World par1World, double par2, double par4, double par6, boolean par8, boolean par9)