Moved MechanicalNodeFrame to a different package
This commit is contained in:
parent
2a6229638b
commit
884cd97296
4 changed files with 2 additions and 36 deletions
|
@ -1,4 +1,4 @@
|
|||
package resonantinduction.mechanical.gear;
|
||||
package resonantinduction.mechanical.energy.grid;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
|
@ -15,9 +15,7 @@ import java.util.List;
|
|||
import java.util.Map.Entry;
|
||||
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.mechanical.energy.grid.MechanicalNode;
|
||||
import resonantinduction.mechanical.energy.grid.PartMechanical;
|
||||
import resonantinduction.mechanical.energy.grid.TileMechanical;
|
||||
import resonantinduction.core.debug.UpdatedLabel;
|
||||
|
||||
/** Java GUI used to help debug gear information
|
||||
*
|
|
@ -12,7 +12,6 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import resonant.api.grid.INode;
|
||||
import resonant.api.grid.INodeProvider;
|
||||
import resonant.core.ResonantEngine;
|
||||
import resonantinduction.mechanical.gear.MechanicalNodeFrame;
|
||||
import codechicken.lib.data.MCDataInput;
|
||||
import codechicken.lib.data.MCDataOutput;
|
||||
import codechicken.multipart.ControlKeyModifer;
|
||||
|
|
|
@ -19,7 +19,6 @@ import resonant.lib.network.IPacketReceiverWithID;
|
|||
import resonant.lib.network.PacketHandler;
|
||||
import resonantinduction.core.ResonantInduction;
|
||||
import resonantinduction.mechanical.Mechanical;
|
||||
import resonantinduction.mechanical.gear.MechanicalNodeFrame;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import codechicken.multipart.ControlKeyModifer;
|
||||
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
package resonantinduction.mechanical.gear;
|
||||
|
||||
import java.awt.Label;
|
||||
|
||||
/** Simple label with an update method
|
||||
*
|
||||
* @author Darkguardsman */
|
||||
@SuppressWarnings("serial")
|
||||
public class UpdatedLabel extends Label
|
||||
{
|
||||
String start_string = "I Am a Label";
|
||||
|
||||
public UpdatedLabel(String start)
|
||||
{
|
||||
super(start);
|
||||
this.start_string = start;
|
||||
}
|
||||
|
||||
/** Called to update the content of the label */
|
||||
public void update()
|
||||
{
|
||||
this.setText(buildLabel());
|
||||
}
|
||||
|
||||
/** Recreates then returns the label's string value */
|
||||
public String buildLabel()
|
||||
{
|
||||
return start_string;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue