コード例 #1
0
 public ArabianHouseShape(Graphics g, Pen pen, Point point, int house_height, int house_width)
 {
     this.graphics        = g;
     this.pen             = pen;
     this.startingPoint   = point;
     this.house_height    = house_height;
     this.house_width     = house_width;
     drawableShapeFactory = new DrawableShapeFactory();
 }
コード例 #2
0
 public EgyptianWaterSourceShape(Graphics graphics, Pen pen, Point startingPoint, int egyptian_WATER_SOURCE_HEIGHT, int egyptian_WATER_SOURCE_WIDTH)
 {
     this.graphics      = graphics;
     this.pen           = pen;
     this.startingPoint = startingPoint;
     this.egyptian_WATER_SOURCE_HEIGHT = egyptian_WATER_SOURCE_HEIGHT;
     this.egyptian_WATER_SOURCE_WIDTH  = egyptian_WATER_SOURCE_WIDTH;
     drawableShapeFactory = new DrawableShapeFactory();
 }
コード例 #3
0
 public EgyptianHouseShape(Graphics graphics, Pen pen, Point startingPoint, int house_height, int house_width)
 {
     this.graphics        = graphics;
     this.pen             = pen;
     this.startingPoint   = startingPoint;
     this.house_height    = house_height;
     this.house_width     = house_width;
     drawableShapeFactory = new DrawableShapeFactory();
 }
コード例 #4
0
 public ArabianTreeShape(Graphics graphics, Pen pen, Point startingPoint, int tREE_HEIGHT, int tREE_WIDTH)
 {
     this.graphics        = graphics;
     this.pen             = pen;
     this.startingPoint   = startingPoint;
     this.tREE_HEIGHT     = tREE_HEIGHT;
     this.tREE_WIDTH      = tREE_WIDTH;
     drawableShapeFactory = new DrawableShapeFactory();
 }
コード例 #5
0
 public BangladeshiWaterSourceShape(Graphics graphics, Pen pen, Point startingPoint, int length, int width)
 {
     this.pen           = pen;
     this.height        = length;
     this.width         = width;
     this.graphics      = graphics;
     this.startingPoint = startingPoint;
     basicShapeFactory  = new DrawableShapeFactory();
 }
コード例 #6
0
 public BangladeshiHouseShape(Graphics g, Pen pen, Point startinhPoint, int height, int width)
 {
     this.pen             = pen;
     this.height          = height;
     this.width           = width;
     this.g               = g;
     this.startingPoint   = startinhPoint;
     drawAbleShapeFactory = new DrawableShapeFactory();
 }
コード例 #7
0
        public BangladeshiTreeShape(Graphics graphics, Pen pen, Point startingPoint, int height, int width)
        {
            this.pen           = pen;
            this.height        = height;
            this.width         = width;
            this.graphics      = graphics;
            this.startingPoint = startingPoint;

            basicShapeFactory = new DrawableShapeFactory();
        }