示例#1
0
   // ----------------------------------------------------------------------
   void
	   NodeMovement::
	   observers_added(MovementObserver& obs) 
	   throw()
   {
	   obs.observer_initial_zone(node_w(), position(), velocity() );
	   movement_update_boxes();
	   boxes_changed();
   }
示例#2
0
    // ----------------------------------------------------------------------
    bool
        JumpMovement::
        set_position( const Vec& p )
        throw()
    {
        pos_ = p;
		  boxes_changed();
        return true;
    }