package com.momega.spacesimulator.renderer;
import com.momega.spacesimulator.model.Maneuver;
import com.momega.spacesimulator.model.ManeuverPoint;
import com.momega.spacesimulator.model.Spacecraft;
import com.momega.spacesimulator.swing.Icons;
/**
* Created by martin on 10/11/14.
*/
public class StartManeuverBitmapRenderer extends AbstractManeuverBitmapRenderer {
protected StartManeuverBitmapRenderer(Spacecraft spacecraft) {
super(spacecraft, Icons.START_MANEUVER_POINT);
}
@Override
protected ManeuverPoint getManeuverPoint() {
Maneuver m = findManeuver();
if (m == null) {
return null;
}
return m.getStart();
}
}