blob: a9a90ceb6bd08e949f98a0e67237bc929f4f52d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Ic2ExpReactorPlanner.components;
import gregtech.api.objects.GT_ItemStack;
/**
* Represents a coolant cell in a reactor.
* @author Brian McCloud
*/
public class CoolantCell extends ReactorItem {
public CoolantCell(
final int id,
final String baseName,
GT_ItemStack aItem,
final double maxDamage,
final double maxHeat,
final String sourceMod) {
super(id, baseName, aItem, maxDamage, maxHeat, sourceMod);
}
public CoolantCell(final CoolantCell other) {
super(other);
}
@Override
public double adjustCurrentHeat(final double heat) {
currentCellCooling += heat;
bestCellCooling = Math.max(currentCellCooling, bestCellCooling);
return super.adjustCurrentHeat(heat);
}
}
|