public class TextureCompass extends TextureStitched
| Modifier and Type | Field and Description |
|---|---|
double |
angleDelta
Speed and direction of compass rotation
|
static TextureCompass |
compassTexture |
double |
currentAngle
Current compass heading in radians
|
| Constructor and Description |
|---|
TextureCompass() |
| 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, createAndUploadTextures, getIconName, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, getSheetHeight, getSheetWidth, init, loadTexture, makeTextureStitched, readAnimationInfopublic static TextureCompass compassTexture
public double currentAngle
public double angleDelta
public void updateAnimation()
updateAnimation in class TextureStitchedpublic void updateCompass(World par1World, double par2, double par4, double par6, boolean par8, boolean par9)