Beispiel #1
0
void Lander::draw(bool isLeft, bool isRight, bool isDown)
{
    Point pt = velocity.getPoint();
    drawLander( pt );

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