final variables and parameters
seeing some methods it does actually help to enforce the parameters
This commit is contained in:
@@ -36,7 +36,7 @@ public class GuiInscriber extends AEBaseGui
|
||||
final ContainerInscriber cvc;
|
||||
GuiProgressBar pb;
|
||||
|
||||
public GuiInscriber( InventoryPlayer inventoryPlayer, TileInscriber te )
|
||||
public GuiInscriber( final InventoryPlayer inventoryPlayer, final TileInscriber te )
|
||||
{
|
||||
super( new ContainerInscriber( inventoryPlayer, te ) );
|
||||
this.cvc = (ContainerInscriber) this.inventorySlots;
|
||||
@@ -59,7 +59,7 @@ public class GuiInscriber extends AEBaseGui
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawFG( int offsetX, int offsetY, int mouseX, int mouseY )
|
||||
public void drawFG( final int offsetX, final int offsetY, final int mouseX, final int mouseY )
|
||||
{
|
||||
this.pb.setFullMsg( this.cvc.getCurrentProgress() * 100 / this.cvc.getMaxProgress() + "%" );
|
||||
|
||||
@@ -68,7 +68,7 @@ public class GuiInscriber extends AEBaseGui
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawBG( int offsetX, int offsetY, int mouseX, int mouseY )
|
||||
public void drawBG( final int offsetX, final int offsetY, final int mouseX, final int mouseY )
|
||||
{
|
||||
this.bindTexture( "guis/inscriber.png" );
|
||||
this.pb.xPosition = 135 + this.guiLeft;
|
||||
|
||||
Reference in New Issue
Block a user