{
public TileEntityChanceMachine tileEntity;
public GuiChanceMachine(InventoryPlayer inventory, TileEntityChanceMachine tentity)
{
super(tentity, new ContainerChanceMachine(inventory, tentity));
tileEntity = tentity;
guiElements.add(new GuiRedstoneControl(this, tileEntity, tileEntity.guiLocation));
guiElements.add(new GuiUpgradeManagement(this, tileEntity, tileEntity.guiLocation));
guiElements.add(new GuiConfigurationTab(this, tileEntity, tileEntity.guiLocation));