void Lander::draw(bool isLeft, bool isRight, bool isDown) { Point pt = velocity.getPoint(); drawLander( pt ); if (fuel) { drawLanderFlames( pt, isDown, isLeft, isRight ); } }
/************************************************************* * LANDER :: DRAW * display the lander on the screen **************************************************************/ void Lander :: draw() const { drawLander(velocity.getPoint()); // set the initial position of the lander drawLander(this); }