Пример #1
0
/**
 * \brief Constructor.
 */
rp::pause_game::pause_game()
: m_layer_name( RP_PAUSE_LAYER_DEFAULT_TARGET_NAME )
{
  set_phantom( true );
  set_can_move_items( false );
  set_artificial( true );
} // rp::pause_game::pause_game()
Пример #2
0
/**
 * \brief Constructor.
 */
bear::forced_movement_toggle::forced_movement_toggle()
  : m_apply_to_activator(false)
{
  set_phantom(true);
  set_can_move_items(false);
  set_artificial(true);
} // forced_movement_toggle::forced_movement_toggle()
Пример #3
0
/**
 * \brief Constructor.
 */
bear::mouse_over_manager::mouse_over_manager()
: m_sample(NULL)
{
  set_global(true);
  set_artificial(true);
  set_phantom(true); 
} // mouse_over_manager::mouse_over_manager()
Пример #4
0
/**
 * \brief Constructor.
 */
bear::explosion_effect_item::explosion_effect_item()
  : m_force(0), m_dust_count(100), m_splinter_count(10)
{
  set_phantom(true);
  set_can_move_items(false);
  set_artificial(true);
} // explosion_effect_item::explosion_effect_item()
Пример #5
0
/**
 * \brief Constructor.
 */
bear::decorative_item::decorative_item()
  : m_kill_when_finished(false),  m_kill_on_contact(false),
  m_stop_on_bottom_contact(false), m_kill_when_leaving(false),
  m_shadow_x(0), m_shadow_y(0)
{
  set_phantom(true);
  set_can_move_items(false);
  set_artificial(true);
} // decorative_item::decorative_item()
Пример #6
0
/**
 * \brief Constructor.
 */
rp::zeppelin::zeppelin()
: m_hit(false), m_item(NULL)
{
  set_mass(100);
  set_density(0.001);
  set_system_angle_as_visual_angle(true);
  set_phantom(true);
  set_artificial(false);
} // rp::zeppelin::zeppelin()
Пример #7
0
/**
 * \brief Contructor.
 */
ptb::power_effect::power_effect()
: m_air(NULL), m_fire(NULL), m_water(NULL)
{
  set_phantom(true);
  set_can_move_items(false);
  set_artificial(true);

  set_mass(1);

} // power_effect::power_effect()
Пример #8
0
/**
 * \brief Copy constructor.
 * \param that The instance to copy from.
 */
rp::zeppelin::zeppelin( const zeppelin& that )
  : super(that), m_hit(false),
    m_item( that.m_item == NULL ? NULL : that.m_item->clone() )
{
  set_mass(100);
  set_density(0.001);
  set_system_angle_as_visual_angle(true);
  set_phantom(true);
  set_artificial(false);
} // rp::zeppelin::zeppelin()
Пример #9
0
/**
 * \brief Constructor.
 */
bear::reference_item::reference_item()
{
  set_phantom(true);
  set_artificial(true);
  set_can_move_items(false);
} // reference_item::reference_item()
Пример #10
0
/**
 * \brief Constructor.
 */
rp::cursor::cursor()
{
  set_phantom(true);
  set_can_move_items(false);
  set_artificial(false);
} // rp::cursor::cursor()
Пример #11
0
/**
 * \brief Constructor.
 */
rp::bird_support::bird_support()
{
  set_artificial(false);
} // rp::bird_support::bird_support()