private TileEnergyLoader tile;
private boolean waitIfEmpty;
private boolean waitTillFull;
public GuiLoaderEnergy(InventoryPlayer inv, TileEnergyLoader tile) {
super(tile, new ContainerEnergyLoader(inv, tile), RailcraftConstants.GUI_TEXTURE_FOLDER + "gui_energy_loader.png");
this.tile = tile;
waitIfEmpty = tile.waitIfEmpty();
waitTillFull = tile.waitTillFull();
}