Improve temperature colours to allow for different base colours.

Make a start on insulation.
Code the characteristics of air into static IHeatTransfer variables.
This commit is contained in:
Ben Spiers committed 2014-12-22 19:14:55 +00:00
1 parent 7214a88a7a
commit ab2a7cb6c7
6 files changed
+92 -32

No files matched your search

@@ -4,15 +4,23 @@ import net.minecraftforge.common.util.ForgeDirection;
public interface IHeatTransfer
{
/**The value of the zero point of our temperature scale in kelvin*/
public static final double AMBIENT_TEMP = 300;
/**The heat transfer coefficient for air*/
public static final double AIR_INVERSE_COEFFICIENT = 10000;
public double getTemp();
public double getInverseConductionCoefficient();
public double getInsulationCoefficient(ForgeDirection side);
public void transferHeatTo(double heat);
public double[] simulateHeat();
public double applyTemperatureChange();
public boolean isInsulated(ForgeDirection side);
public boolean canConnectHeat(ForgeDirection side);
}