Example #1
0
 public VideoGame(VideoGameBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit())
 {
     platform = builder.GetPlatform();
     genre    = builder.GetGenre();
     mode     = builder.GetMode();
     style    = builder.GetStyle();
 }
Example #2
0
 VideoGame(string name, double price, string manufacturerName, int ageLimit, EnGamePlatform platform,
           EnGenreVideoGame genre, EnGameMode mode, EnStylistic style) : base(name, price, manufacturerName, ageLimit)
 {
     this.platform = platform;
     this.genre    = genre;
     this.mode     = mode;
     this.style    = style;
 }
Example #3
0
 public VideoGameBuilder SetStyle(EnStylistic style)
 {
     this.style = style; return(this);
 }