Exemplo n.º 1
0
 public void BuildFullFeaturedPlane(int id, string creator, Plane.Type type, int seats, DateTime date, string carry)
 {
     this._builder.BuildId(id);
     this._builder.BuildCreator(creator);
     this._builder.BuildType(type);
     this._builder.BuildSeats(seats);
     this._builder.BuildDate(date);
     this._builder.BuildCarry(carry);
 }
Exemplo n.º 2
0
 private Plane(int id, string creator, Plane.Type type, int seats, DateTime date, string carry, PlaneState st)
 {
     this.Id          = id;
     this.State       = st;
     this.carrying    = carry;
     this.creator     = creator;
     this.DateOfIssue = date;
     this.NofSeats    = seats;
     this.type        = type;
     Crew             = new List <CrewMember>();
 }
Exemplo n.º 3
0
 public void BuildType(Plane.Type type)
 {
     this._plane.type = type;
 }