Fix massWithoutMotors: Put back changes lost while tinkering with IntelliJ
This commit is contained in:
parent
2d5dfc0909
commit
1c4bf57a0c
@ -109,10 +109,14 @@ public class RocketInfo implements FigureElement {
|
||||
public void setDiameter(double diameter) {
|
||||
this.diameter = diameter;
|
||||
}
|
||||
|
||||
|
||||
public void setMass(double mass) {
|
||||
this.mass = mass;
|
||||
}
|
||||
|
||||
public void setMassWithoutMotors(double mass) {
|
||||
this.massWithoutMotors = mass;
|
||||
}
|
||||
|
||||
public void setWarnings(WarningSet warnings) {
|
||||
this.warnings = warnings.clone();
|
||||
@ -164,7 +168,7 @@ public class RocketInfo implements FigureElement {
|
||||
|
||||
g2.drawGlyphVector(name, x1, y1);
|
||||
g2.drawGlyphVector(lengthLine, x1, y1+line);
|
||||
g2.drawGlyphVector(massLine, x1, y1+2*line);
|
||||
g2.drawGlyphVector(massLineWithoutMotors, x1, y1+2*line);
|
||||
|
||||
if( configuration.hasMotors() ) {
|
||||
//// Mass with motors
|
||||
|
Loading…
x
Reference in New Issue
Block a user