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
|
copyFrom, func_110965_a, func_110966_b, func_110967_i, func_110968_a, func_110969_c, func_110970_k, func_110971_a, func_130010_a, func_130098_m, func_130100_a, func_130103_l, getIconName, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, load, 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)