Ejemplo n.º 1
0
// ---------------------------------------------------------------------------

        /**
         * Creates a Phrase containing the name of a Country.
         * @param country a Country object
         * @return a Phrase object
         */
        public static Phrase GetCountryPhrase(Country country)
        {
            return(new Phrase(country.Name, FilmFonts.NORMAL));
        }
Ejemplo n.º 2
0
// ---------------------------------------------------------------------------
    /**
     * Adds a country.
     * @param country  one of the countries the movie was made by.
     */
    public void AddCountry(Country country) {
      _countries.Add(country);    
    }
Ejemplo n.º 3
0
// ---------------------------------------------------------------------------    
    /**
     * Creates a Phrase containing the name of a Country.
     * @param country a Country object
     * @return a Phrase object
     */
    public static Phrase GetCountryPhrase(Country country) {
      return new Phrase(country.Name, FilmFonts.NORMAL);
    }