Fix massWithoutMotors: Put back changes lost while tinkering with IntelliJ

This commit is contained in:
Wes Cravens 2016-03-23 21:34:52 -05:00
parent 2d5dfc0909
commit 1c4bf57a0c

View File

@ -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