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(); }
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; }
public VideoGameBuilder SetStyle(EnStylistic style) { this.style = style; return(this); }