Ejemplo n.º 1
0
/**
 * \brief Draws a transition effect on this drawable object.
 * \param transition The transition effect to apply.
 */
void TextSurface::draw_transition(Transition& transition) {
    transition.draw(*surface);
}
Ejemplo n.º 2
0
/**
* @brief Draws a transition effect on this drawable object.
* @param transition The transition effect to apply.
*/
void Surface::draw_transition(Transition& transition) 
{
  transition.draw(*this);
}
Ejemplo n.º 3
0
/**
 * \brief Draws a transition effect on this drawable object.
 * \param transition The transition effect to apply.
 */
void Sprite::draw_transition(Transition& transition) {

  get_intermediate_surface().fill_with_color(Color::get_black());
  transition.draw(get_intermediate_surface());
}