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