Exemplo n.º 1
0
/**
 * \brief Initialize the values from an existing level.
 * \param lvl The level in which we take the values.
 */
void bf::level_properties_frame::init_from( const level& lvl )
{
  m_width = lvl.get_width();
  m_height = lvl.get_height();
  m_music = lvl.get_music();
  m_name = lvl.get_name();

  fill_controls();
} // level_properties_frame::init_from()