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); }
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>(); }
public void BuildType(Plane.Type type) { this._plane.type = type; }