/// <summary> /// initialise les attributs /// </summary> /// <param name="unFilm"></param> /// <param name="nbPlace"></param> /// <param name="prix"></param> public Salle(Film unFilm, int nbPlace, double prix) { this.unFilm = unFilm; this.nbPlace = nbPlace; this.prix = prix; nbPlaceTarifNormal = 0; nbPlaceTarifReduit = 0; }
static void Main(string[] args) { SpectatorGenerator SG=new SpectatorGenerator(); Spectator[] S2 =new Spectator[100]; for (int i = 0; i < S2.Length; i++) { S2[i] = SG.GetNewSpectator(); } var F1 = new Film("Film", Genre.Action, 100, 50); var A1 = new Auditorium(1, F1, S2); Console.WriteLine(A1); Console.ReadKey(); }
public Films() { film = new Film(); }
public Films(String cs) : base(cs) { film = new Film(); }
public Films(object cs) : base(cs) { film = new Film(); }
public Auditorium(int nomer, Film film, Spectator[] viewrs) { Numer = nomer; CurrentFilm = film; Viewers = viewrs; }