Exemplo n.º 1
0
        /// <summary>
        /// Creates a default list of decorations
        /// </summary>
        /// <returns></returns>
        public static DecorationList CreateDefaultList()
        {
            DecorationList dl = new DecorationList();

            dl.Add(new Decoration()
            {
                Code    = "O",
                English = "Just substrate, rocks, maybe tough plants",
                Danish  = "Kun bundlag, sten og måske nogle hårdføre planter"
            });

            dl.Add(new Decoration()
            {
                Code    = "W",
                English = "Bogwood necessary/advisable",
                Danish  = "Rødder nødvendigt/tilrådeligt"
            });

            dl.Add(new Decoration()
            {
                Code    = "Z",
                English = "Planted aquarium",
                Danish  = "Planteakvarie"
            });

            return(dl);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor. Initializes all lists
 /// </summary>
 public Animal()
 {
     FoodTypes   = new Lists.FoodTypeList();
     Decorations = new Lists.DecorationList();
     Behavior    = new Lists.BehaviorList();
 }