Esempio n. 1
0
 public PaintHullColorEventArgs(Point location, HullColor color) : base()
 {
     Location  = location;
     HullColor = color;
 }
Esempio n. 2
0
        void DoPaintHull(HullColor color)
        {
            var args = new PaintHullColorEventArgs(myLocation, color);

            PaintHull(this, args);
        }
 public MotorBoatBuilder(Hull fiberglass, Helm wheel, HullColor white)
 {
     this.fiberglass = fiberglass;
     this.wheel      = wheel;
     this.white      = white;
 }
Esempio n. 4
0
 public AbstractSailBoat(IBoat hull, HullColor red, Helm outboard)
 {
     this.hull     = hull;
     this.red      = red;
     this.outboard = outboard;
 }
 public AbstractMotorBoat(IBoat hull, HullColor white, Helm wheel)
 {
     this.hull  = hull;
     this.white = white;
     this.wheel = wheel;
 }