public animal(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg, ysg, longueur, hauteur, angle, crayon, pot) { this._Tete = new MonCercle(hebergeur, xsg + 15, ysg, hauteur / 2, Color.Black, Color.Brown); this._OeilG = new MonCercle(hebergeur, xsg + 8, ysg, hauteur / 7, Color.Brown, Color.White); this._OeilD = new MonCercle(hebergeur, xsg + 22, ysg, hauteur / 7, Color.Brown, Color.White); this._OrG = new MonRectangle_tournant(hebergeur, xsg, ysg - 40, longueur / 3, hauteur, Alpha, Color.Brown, Color.Brown); this._OrD = new MonRectangle_tournant(hebergeur, xsg + 20, ysg - 40, longueur / 3, hauteur, Alpha, Color.Brown, Color.Brown); this._PatG = new MonRectangle_tournant(hebergeur, xsg, ysg + 25, longueur / 3, hauteur, Alpha, Color.Brown, Color.Brown); this._PatD = new MonRectangle_tournant(hebergeur, xsg + 20, ysg + 25, longueur / 3, hauteur, Alpha, Color.Brown, Color.Brown); }
public Bonhomme(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur) : base(hebergeur, xsg, ysg, longueur, hauteur, 0) { // (10, 60, 30, 80); this._Tete = new MonCercle(hebergeur, xsg + (longueur / 2), ysg - (hauteur / 5), hauteur / 5, Color.Black, Color.Aquamarine); this._Oeil = new MonCercle(hebergeur, xsg / 2 + (longueur), ysg - (hauteur / 5), hauteur / 20, Color.Black, Color.White); this._JambeDroite = new Jambe(hebergeur, longueur, hauteur + ysg, longueur / 2, hauteur / 2, 0, Color.Black, Color.DarkSlateGray); this._JambeGauche = new Jambe(hebergeur, longueur, hauteur + ysg, longueur / 2, hauteur / 2, 0, Color.Black, Color.DarkSlateGray); this._BrasDroit = new Bras(hebergeur, longueur / 2 + xsg / 2, hauteur - xsg / 2, (longueur / 3) + xsg / 5, hauteur / 2, 0, Color.Black, Color.DarkRed); this._BrasGauche = new Bras(hebergeur, longueur / 2 + xsg / 2, hauteur - xsg / 2, (longueur / 3) + xsg / 5, hauteur / 2, 0, Color.Black, Color.DarkRed); this._Sacados = new MonRectangle_tournant(hebergeur, xsg - 22, hauteur - xsg - 8, longueur, hauteur / 2, 0, Color.Black, Color.DarkSlateGray); //this._Snowboard = new snowboard(hebergeur, xsg*10, longueur*7+xsg, longueur*3, hauteur / 3, 0, Color.Black, Color.DarkSlateBlue); }
public decor(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg, ysg, longueur, hauteur, angle, crayon, pot) { this._part1 = new MonRectangle_tournant(hebergeur, xsg, hauteur + ysg / 2, longueur / 2, hauteur, Alpha, Color.Brown, Color.White); this._part2 = new MonRectangle_tournant(hebergeur, xsg, hauteur + ysg / 4, longueur / 8, hauteur, Alpha, Color.Brown, Color.White); this._part3 = new MonRectangle_tournant(hebergeur, xsg, hauteur, longueur / 10, hauteur, Alpha, Color.Brown, Color.White); this._part4 = new MonRectangle_tournant(hebergeur, xsg, hauteur + ysg / 9, longueur / 10, hauteur, Alpha, Color.Brown, Color.White); this._part5 = new MonRectangle_tournant(hebergeur, xsg + 900, hauteur + ysg / 2, longueur / 9, hauteur, Alpha, Color.Brown, Color.White); this._part6 = new MonRectangle_tournant(hebergeur, xsg + 1100, hauteur + ysg / 2, longueur / 15, hauteur, Alpha, Color.Brown, Color.White); this._part7 = new MonRectangle_tournant(hebergeur, xsg + 1200, hauteur + ysg / 2, longueur / 4, hauteur, Alpha, Color.Brown, Color.White); this._part8 = new MonRectangle_tournant(hebergeur, xsg + 1550, hauteur + ysg / 3, longueur / 2, hauteur, Alpha, Color.Brown, Color.White); this._Sun = new MonCercle(hebergeur, xsg + 900, ysg / 12, hauteur / 5, Color.Yellow, Color.Yellow); }
public Jambe(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg / 2, ysg, longueur, hauteur, angle, crayon, pot) { this._Tibia = new MonRectangle_tournant(hebergeur, xsg / 2, ysg + hauteur, longueur, hauteur, Alpha, Color.Brown, Color.DarkRed); this._Pied = new MonRectangle_tournant(hebergeur, xsg / 2, ysg + hauteur * 2, longueur * 2, hauteur / 4, Alpha, Color.Brown, Color.Black); }
public Bras(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg, ysg, longueur, hauteur, angle, crayon, pot) { this._AvantBras = new MonRectangle_tournant(hebergeur, xsg, hauteur + ysg, longueur, hauteur, Alpha, Color.Brown, Color.DarkRed); this._Main = new MonRectangle_tournant(hebergeur, xsg, hauteur * 2 + ysg, longueur, hauteur / 4, Alpha, Color.Brown, Color.Black); }
public snowboard(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg, ysg, longueur, hauteur, angle, crayon, pot) { this._part1 = new MonRectangle_tournant(hebergeur, xsg, ysg - 10, longueur / 3, hauteur, Alpha, Color.Brown, Color.DarkGray); this._part2 = new MonRectangle_tournant(hebergeur, xsg + 60, ysg - 10, longueur / 3, hauteur, Alpha, Color.Brown, Color.DarkGray); }
public casque(PictureBox hebergeur, int xsg, int ysg, int longueur, int hauteur, double angle, Color crayon, Color pot) : base(hebergeur, xsg, ysg, longueur, hauteur, angle, crayon, pot) { this._part1 = new MonRectangle_tournant(hebergeur, xsg, hauteur + ysg, longueur / 3, hauteur, Alpha, Color.Brown, Color.DarkRed); //this._part2 = new MonRectangle_tournant(hebergeur, xsg*3, hauteur+xsg, longueur/3, hauteur, Alpha, Color.Brown, Color.White); }