public HeadTeror(int x, int y, int hight, int width, Color colhead, Color colmasc) { this.x = x; this.y = y; this.height = hight; this.width = width; this.leye = new Eye(x + width / 6, y + height / 7, hight / 2, width / 3, Color.White, Color.Black); this.reye = new Eye(x + width / 2, y + height / 7, hight / 2, width / 3, Color.White, Color.Black); this.lear = new Ear((x - width / 3) + width / 20, y + hight / 5, hight / 2, width / 3, Color.Bisque, Color.Black); this.rear = new Ear((x + width) - width / 20, y + hight / 5, hight / 2, width / 3, Color.Bisque, Color.Black); this.mouth = new Mouth(x + width / 6, y + (hight - (hight / 3)), hight / 4, (width / 3) * 2, Color.Red, Color.Black); this.maska = new Mask(x, y, hight, width, colmasc); b = new SolidBrush(colhead); }
public Head(int x, int y, int hight, int width, Color colhead, Color colhat) { this.x = x; this.y = y; this.height = hight; this.width = width; this.leye = new Eye(x + width / 6, y + height / 7, hight / 3, width / 3, Color.White, Color.Black); this.reye = new Eye(x + width / 2, y + height / 7, hight / 3, width / 3, Color.White, Color.Black); this.lear = new Ear((x - width / 8) + width / 20, y + hight / 3, hight / 5, width / 8, Color.Bisque, Color.Black); this.rear = new Ear((x + width) - width / 20, y + hight / 3, hight / 5, width / 8, Color.Bisque, Color.Black); this.mouth = new Mouth(x + width / 4, y + (hight - (hight / 3)), hight / 8, width / 2, Color.Red, Color.Black); this.hat = new Hat(x + width / 6, y - hight / 8, hight / 4, (width / 3) * 2, colhat); this.nose = new Nose(this.x + (width / 2), y + height / 2, height / 5, height / 2); b = new SolidBrush(colhead); }