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 SetPlatform(EnGamePlatform platform) { this.platform = platform; return(this); }