-- $Date: 2004/02/26 05:59:28 $
-- $Revision: 1.3 $
-- $Author: jcrocholl $

with Messages; use Messages;
with Parts.Output; use Parts.Output;

package body Scores.Output is

   procedure Add
     (To   : access Collector'Class;
      This : access Score)
   is
      use Part_Lists;
      Parts : Part_List_Access := Get_Parts(This);
   begin
      -- Debug("adding score");
      Reset(Parts);
      while Next(Parts) loop
         Add(To, Current(Parts));
      end loop;
   end Add;

end Scores.Output;