예제 #1
0
        public static void malen_StahlBlock(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           Bit_Multiplier0 = 1;
            Color         füllfarbe       = Color.Black;
            Color         stiftfarbe      = Color.Black;
            Grundmethoden grundmethoden   = new Grundmethoden();

            x_Pos += (2 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 20 * Bit_Multiplier0, 24 * Bit_Multiplier0);
            x_Pos -= (2 * Bit_Multiplier0);
            y_Pos += (2 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 24 * Bit_Multiplier0, 20 * Bit_Multiplier0);

            füllfarbe  = Color.Chocolate;
            stiftfarbe = Color.Chocolate;
            x_Pos     += (2 * Bit_Multiplier0);
            y_Pos     += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 20 * Bit_Multiplier0, 20 * Bit_Multiplier0);
            füllfarbe  = Color.Black;
            stiftfarbe = Color.Black;
            x_Pos     += (1 * Bit_Multiplier0);
            y_Pos     += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (17 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (17 * Bit_Multiplier0);
            y_Pos += (17 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (17 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
        }
예제 #2
0
        public static void malen_LaserGun(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           xLänge, yLänge;
            Color         color1        = Color.DarkGray;
            Grundmethoden grundmethoden = new Grundmethoden();

            //Scope
            y_Pos += 4;
            x_Pos += 6;
            xLänge = 10;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos += 2;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            //Lauf
            y_Pos += 2;
            x_Pos -= 4;
            xLänge = 22;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            x_Pos += 4;
            xLänge = 2;
            yLänge = 6;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            x_Pos += 2;
            xLänge = 3;
            yLänge = 1;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            x_Pos += 3;
            xLänge = 1;
            yLänge = 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 3;
            x_Pos -= 3;
            xLänge = 3;
            yLänge = 1;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos -= 4;
            x_Pos += 10;
            xLänge = 2;
            yLänge = 5;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);
        }
예제 #3
0
        public static void malen_Dungeonhintergrund(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            Color         füllfarbe     = Color.Black;
            Color         stiftfarbe    = Color.Black;
            Grundmethoden grundmethoden = new Grundmethoden();

            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 840, 480);
        }
예제 #4
0
        public static void malen_MauerBlock(Graphics graphics, int x_Coordinate1, int y_Coordinate1)
        {
            int y_Bit_Multiplier_GanzerBlock = 24,
                x_Bit_Multiplier0            = (y_Bit_Multiplier_GanzerBlock - 4) / 2,
                y_Bit_Multiplier0            = (y_Bit_Multiplier_GanzerBlock - 8) / 4,
                Block_Spalenbreite           = y_Bit_Multiplier_GanzerBlock / 12;


            Grundmethoden grundmethoden = new Grundmethoden();
            Color         grafikfarbe   = Color.Black,
                          stiftfarbe    = Color.Black;

            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, y_Bit_Multiplier_GanzerBlock, y_Bit_Multiplier_GanzerBlock);

            grafikfarbe = Color.Brown;
            stiftfarbe  = Color.Brown;

            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Coordinate1 += x_Bit_Multiplier0 + Block_Spalenbreite;
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);

            y_Coordinate1 += y_Bit_Multiplier0 + Block_Spalenbreite;
            x_Coordinate1 -= (x_Bit_Multiplier0 + Block_Spalenbreite);

            x_Bit_Multiplier0 -= (x_Bit_Multiplier0 / 2);
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Bit_Multiplier0 += (x_Bit_Multiplier0);
            x_Coordinate1     += (x_Bit_Multiplier0 / 2) + Block_Spalenbreite;
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Coordinate1     += (x_Bit_Multiplier0 + Block_Spalenbreite);
            x_Bit_Multiplier0 -= (x_Bit_Multiplier0 / 2);
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Bit_Multiplier0 += (x_Bit_Multiplier0);

            y_Coordinate1 += y_Bit_Multiplier0 + Block_Spalenbreite;
            x_Coordinate1 -= (x_Bit_Multiplier0 / 2) + x_Bit_Multiplier0 + 2 * Block_Spalenbreite;

            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Coordinate1 += x_Bit_Multiplier0 + Block_Spalenbreite;
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);

            y_Coordinate1 += y_Bit_Multiplier0 + Block_Spalenbreite;
            x_Coordinate1 -= (x_Bit_Multiplier0 + Block_Spalenbreite);

            x_Bit_Multiplier0 -= (x_Bit_Multiplier0 / 2);
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Bit_Multiplier0 += (x_Bit_Multiplier0);
            x_Coordinate1     += (x_Bit_Multiplier0 / 2) + Block_Spalenbreite;
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Coordinate1     += (x_Bit_Multiplier0 + Block_Spalenbreite);
            x_Bit_Multiplier0 -= (x_Bit_Multiplier0 / 2);
            grundmethoden.malen_Bit(graphics, x_Coordinate1, y_Coordinate1, grafikfarbe, stiftfarbe, x_Bit_Multiplier0, y_Bit_Multiplier0);
            x_Bit_Multiplier0 += (x_Bit_Multiplier0);

            y_Coordinate1 += y_Bit_Multiplier0 + Block_Spalenbreite;
            x_Coordinate1 -= (x_Bit_Multiplier0 / 2) + x_Bit_Multiplier0 + 2 * Block_Spalenbreite;
        }
예제 #5
0
        public static void malen_Coin(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           xLänge, yLänge;
            Color         color1        = Color.Chocolate;
            Color         color2        = Color.Gold;
            Grundmethoden grundmethoden = new Grundmethoden();

            //aüßerer Rand
            x_Pos += 8;
            xLänge = 8;
            yLänge = 22;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 2;
            xLänge = 12;
            yLänge = 18;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 2;
            xLänge = 16;
            yLänge = 14;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            // aüßeres Gelb
            y_Pos -= 2;
            x_Pos += 4;
            xLänge = 8;
            yLänge = 18;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 2;
            xLänge = 12;
            yLänge = 14;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xLänge, yLänge);

            //innerer Rand
            x_Pos += 4;
            xLänge = 4;
            yLänge = 14;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 2;
            xLänge = 8;
            yLänge = 10;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            //inneres Gelb
            x_Pos += 2;
            xLänge = 4;
            yLänge = 10;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xLänge, yLänge);
        }
예제 #6
0
        public static void malen_Heart(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           xLänge, yLänge;
            Color         color1        = Color.Red;
            Grundmethoden grundmethoden = new Grundmethoden();

            y_Pos += 2;
            x_Pos += 4;
            xLänge = 4;
            yLänge = 16;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            x_Pos += 10;
            xLänge = 4;
            yLänge = 16;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 12;
            xLänge = 8;
            yLänge = 12;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            x_Pos += 10;
            xLänge = 8;
            yLänge = 12;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos -= 12;
            xLänge = 22;
            yLänge = 8;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 8;
            x_Pos += 6;
            xLänge = 10;
            yLänge = 6;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 6;
            x_Pos += 2;
            xLänge = 6;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            y_Pos += 2;
            x_Pos += 2;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);
        }
예제 #7
0
        public static void malen_RöhrenLaser(Graphics graphics, int x_Koordinate, int y_Koordinate)
        {
            int           x_Pos = x_Koordinate + 6, y_Pos = y_Koordinate - 480, Bit_Multiplier0 = 3;
            Color         colour        = Color.Black;
            Grundmethoden grundmethoden = new Grundmethoden();

            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 15 * Bit_Multiplier0, 479);
            colour = Color.Purple;
            grundmethoden.malen_Bit(graphics, x_Pos + (1 * Bit_Multiplier0), y_Pos, colour, colour, 13 * Bit_Multiplier0, 479);
            colour = Color.WhiteSmoke;
            grundmethoden.malen_Bit(graphics, x_Pos + (4 * Bit_Multiplier0), y_Pos, colour, colour, 7 * Bit_Multiplier0, 479);
            colour = Color.Black;
            grundmethoden.malen_Bit(graphics, x_Pos + (10 * Bit_Multiplier0) + 1, y_Pos, colour, colour, 1 * Bit_Multiplier0 - 1, 479);
        }
예제 #8
0
        public static void malen_Laser(Graphics graphics, int x_Pos0, int y_Pos0, int Laser_länge0, bool Richtung)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           xLänge = Laser_länge0, yLänge;
            Color         color1        = Color.OrangeRed;
            Grundmethoden grundmethoden = new Grundmethoden();

            if (Richtung == false)
            {
                x_Pos += 27;
            }
            if (Richtung == true)
            {
                x_Pos = x_Pos0 - Laser_länge0;
            }
            y_Pos += 9;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);
        }
예제 #9
0
        //direction = false = rechts
        //direction = true = links
        public static void malen_Goethe(Graphics graphics, int x_Koordinate, int y_Koordinate, bool direction)
        {
            int           x_Pos = x_Koordinate, y_Pos = y_Koordinate, Bit_Multiplier0 = 2;
            Color         colour        = Color.SaddleBrown;
            Grundmethoden grundmethoden = new Grundmethoden();

            x_Pos = x_Koordinate + 5 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 4 * Bit_Multiplier0, Bit_Multiplier0);

            y_Pos = y_Koordinate + Bit_Multiplier0;
            x_Pos = x_Koordinate + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 8 * Bit_Multiplier0, 12 * Bit_Multiplier0);

            y_Pos = y_Koordinate + 2 * Bit_Multiplier0;
            x_Pos = x_Koordinate + 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 10 * Bit_Multiplier0, Bit_Multiplier0);

            y_Pos = y_Koordinate + 3 * Bit_Multiplier0;
            x_Pos = x_Koordinate + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 12 * Bit_Multiplier0, 10 * Bit_Multiplier0);

            y_Pos = y_Koordinate + 6 * Bit_Multiplier0;
            x_Pos = x_Koordinate;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 14 * Bit_Multiplier0, 7 * Bit_Multiplier0);

            y_Pos = y_Koordinate + 13 * Bit_Multiplier0;
            x_Pos = x_Koordinate;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, Bit_Multiplier0);
            x_Pos = x_Koordinate + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 4 * Bit_Multiplier0, Bit_Multiplier0);
            x_Pos = x_Koordinate + 8 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, 2 * Bit_Multiplier0);
            x_Pos = x_Koordinate + 10 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            x_Pos = x_Koordinate + 12 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, Bit_Multiplier0);

            y_Pos = y_Koordinate + 14 * Bit_Multiplier0;
            x_Pos = x_Koordinate;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            x_Pos = x_Koordinate + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, Bit_Multiplier0);
            x_Pos = x_Koordinate + 12 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            //Nächste Zeilen = verschiedene Augen je nach Richtung in die er läuft/schaut
            colour = Color.LightGray;

            y_Pos = y_Koordinate + 3 * Bit_Multiplier0;
            if (direction == false)
            {
                x_Pos = x_Koordinate + 4 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + 2 * Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            if (direction == false)
            {
                x_Pos = x_Koordinate + 10 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + 8 * Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);

            y_Pos = y_Koordinate + 4 * Bit_Multiplier0;
            if (direction == false)
            {
                x_Pos = x_Koordinate + 3 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 4 * Bit_Multiplier0, 3 * Bit_Multiplier0);


            if (direction == false)
            {
                x_Pos = x_Koordinate + 9 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + 7 * Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 4 * Bit_Multiplier0, 3 * Bit_Multiplier0);
            //Pupillen
            colour = Color.Blue;

            y_Pos = y_Koordinate + 5 * Bit_Multiplier0;
            if (direction == false)
            {
                x_Pos = x_Koordinate + 5 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, 2 * Bit_Multiplier0);

            if (direction == false)
            {
                x_Pos = x_Koordinate + 11 * Bit_Multiplier0;
            }
            else if (direction == true)
            {
                x_Pos = x_Koordinate + 7 * Bit_Multiplier0;
            }
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, colour, colour, 2 * Bit_Multiplier0, 2 * Bit_Multiplier0);
        }
예제 #10
0
        public static void malen_BodenBlock(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0, xlänge, ylänge;
            Color         color1        = Color.LightGray;
            Color         color2        = Color.DarkGray;
            Grundmethoden grundmethoden = new Grundmethoden();

            xlänge = 24;
            ylänge = 24;
            x_Pos += 0;
            y_Pos += 0;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xlänge, ylänge);

            xlänge = 6;
            ylänge = 6;
            x_Pos += 0;
            y_Pos += 18;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 3;
            x_Pos += 6;
            y_Pos += 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 6;
            x_Pos += 15;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 15;
            ylänge = 3;
            x_Pos -= 18;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 6;
            ylänge = 3;
            x_Pos += 9;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 3;
            x_Pos -= 9;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 3;
            x_Pos += 3;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 3;
            x_Pos -= 6;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 9;
            ylänge = 3;
            x_Pos += 15;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 9;
            ylänge = 3;
            x_Pos -= 15;
            y_Pos -= 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);

            xlänge = 3;
            ylänge = 3;
            x_Pos += 21;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xlänge, ylänge);
        }
예제 #11
0
        public static void malen_RöhrenBlock_Hals(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           Bit_Multiplier0 = 3;
            Color         füllfarbe       = Color.Black;
            Color         stiftfarbe      = Color.Black;
            Grundmethoden grundmethoden   = new Grundmethoden();

            x_Pos += (2 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 15 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            x_Pos     += (1 * Bit_Multiplier0);
            füllfarbe  = Color.YellowGreen;
            stiftfarbe = Color.YellowGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 13 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            x_Pos     += (1 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            x_Pos     += (4 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            x_Pos     += (2 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 2 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            //Muster
            x_Pos += (3 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
        }
예제 #12
0
        public static void malen_RöhrenBlock_Kopf(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           Bit_Multiplier0 = Convert.ToInt32(2.526314);
            Color         füllfarbe       = Color.Black;
            Color         stiftfarbe      = Color.Black;
            Grundmethoden grundmethoden   = new Grundmethoden();

            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 19 * Bit_Multiplier0, 9 * Bit_Multiplier0);


            füllfarbe  = Color.YellowGreen;
            stiftfarbe = Color.YellowGreen;
            x_Pos     += (1 * Bit_Multiplier0);
            y_Pos     += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 17 * Bit_Multiplier0, 8 * Bit_Multiplier0);

            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            x_Pos     += (0 * Bit_Multiplier0);
            y_Pos     += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (1 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 7 * Bit_Multiplier0);
            x_Pos += (5 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 7 * Bit_Multiplier0, 7 * Bit_Multiplier0);
            x_Pos += (8 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (0 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);


            füllfarbe  = Color.Black;
            stiftfarbe = Color.Black;

            x_Pos -= (14 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 17 * Bit_Multiplier0, 1 * Bit_Multiplier0);

            //Halsstück

            x_Pos += (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 15 * Bit_Multiplier0, 6 * Bit_Multiplier0);
            y_Pos     += (1 * Bit_Multiplier0);
            x_Pos     += (1 * Bit_Multiplier0);
            füllfarbe  = Color.YellowGreen;
            stiftfarbe = Color.YellowGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 13 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            x_Pos     += (1 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            x_Pos     += (4 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            x_Pos     += (2 * Bit_Multiplier0);
            füllfarbe  = Color.DarkGreen;
            stiftfarbe = Color.DarkGreen;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            //Muster
            x_Pos += (2 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (0 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos -= (1 * Bit_Multiplier0);
            y_Pos += (1 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
            x_Pos += (2 * Bit_Multiplier0);
            y_Pos += (0 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, füllfarbe, stiftfarbe, 1 * Bit_Multiplier0, 1 * Bit_Multiplier0);
        }
예제 #13
0
        public static void malen_Banner(Graphics graphics, int x_Pos_Banner, int y_Pos_Banner)
        {
            int           Bit_Multiplier0 = 4; //Pixelgröße definieren
            Color         colour;
            Grundmethoden grundmethoden = new Grundmethoden();
            int           xPos          = x_Pos_Banner;
            int           yPos          = y_Pos_Banner;

            #region M_Letter
            colour = Color.SaddleBrown;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 6 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            yPos += 2 * Bit_Multiplier0;
            xPos += 6 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 7 * Bit_Multiplier0);
            yPos -= Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            xPos += 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            yPos += 8 * Bit_Multiplier0;
            xPos -= 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 2 * Bit_Multiplier0, Bit_Multiplier0);
            yPos -= 9 * Bit_Multiplier0;
            xPos += 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 6 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            xPos = x_Pos_Banner + 5 * Bit_Multiplier0;
            yPos = y_Pos_Banner + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            yPos -= Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            xPos += 5 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, Bit_Multiplier0, Bit_Multiplier0);
            xPos -= Bit_Multiplier0;
            yPos += Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            yPos += Bit_Multiplier0;
            xPos -= 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 2 * Bit_Multiplier0, 5 * Bit_Multiplier0);
            xPos = x_Pos_Banner + 11 * Bit_Multiplier0;
            yPos = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            yPos = y_Pos_Banner;
            #endregion
            x_Pos_Banner += 17 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region A_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 9 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 14 * Bit_Multiplier0);
            xPos += 9 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 14 * Bit_Multiplier0);
            xPos = x_Pos_Banner + Bit_Multiplier0;
            yPos = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + 2 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 10 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            yPos += Bit_Multiplier0;
            xPos -= Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            xPos += 9 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner + 5 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + 4 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 2 * Bit_Multiplier0);
            #endregion
            x_Pos_Banner += 15 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region L_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 10 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner + 5 * Bit_Multiplier0;
            yPos   = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 6 * Bit_Multiplier0, 11 * Bit_Multiplier0);
            colour = Color.LightSkyBlue;
            xPos   = x_Pos_Banner + 6 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 6 * Bit_Multiplier0, 10 * Bit_Multiplier0);
            #endregion
            x_Pos_Banner += 13 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region A_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 9 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 14 * Bit_Multiplier0);
            xPos += 9 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 14 * Bit_Multiplier0);
            xPos = x_Pos_Banner + Bit_Multiplier0;
            yPos = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + 2 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 10 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            yPos += Bit_Multiplier0;
            xPos -= Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            xPos += 9 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner + 5 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + 4 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 2 * Bit_Multiplier0);
            #endregion
            x_Pos_Banner += 15 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region R_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 10 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            xPos += 8 * Bit_Multiplier0;
            yPos += Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 14 * Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 10 * Bit_Multiplier0, 8 * Bit_Multiplier0);
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            xPos += 8 * Bit_Multiplier0;
            yPos += Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            colour = Color.SaddleBrown;
            xPos  -= 5 * Bit_Multiplier0;
            yPos  += 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 2 * Bit_Multiplier0);
            yPos = y_Pos_Banner + 8 * Bit_Multiplier0;
            xPos = x_Pos_Banner + 11 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 2 * Bit_Multiplier0, Bit_Multiplier0);
            #endregion
            x_Pos_Banner += 14 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region I_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 9 * Bit_Multiplier0, 3 * Bit_Multiplier0);
            xPos += 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 5 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            xPos = x_Pos_Banner;
            yPos = y_Pos_Banner + 12 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 9 * Bit_Multiplier0, 3 * Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + Bit_Multiplier0;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 7 * Bit_Multiplier0, Bit_Multiplier0);
            yPos = y_Pos_Banner + 13 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 7 * Bit_Multiplier0, Bit_Multiplier0);
            yPos = y_Pos_Banner + Bit_Multiplier0;
            xPos = x_Pos_Banner + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 3 * Bit_Multiplier0, 12 * Bit_Multiplier0);
            #endregion
            x_Pos_Banner += 10 * Bit_Multiplier0;//Neuen "Nullpunkt" für den Nächsten Buchstaben setzen
            #region O_Letter
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner;
            yPos   = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 14 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            xPos = x_Pos_Banner + Bit_Multiplier0;
            yPos = y_Pos_Banner;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 15 * Bit_Multiplier0);
            colour = Color.Yellow;
            xPos   = x_Pos_Banner + Bit_Multiplier0;
            yPos   = y_Pos_Banner + 2 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 12 * Bit_Multiplier0, 11 * Bit_Multiplier0);
            xPos = x_Pos_Banner + 2 * Bit_Multiplier0;
            yPos = y_Pos_Banner + Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 10 * Bit_Multiplier0, 13 * Bit_Multiplier0);
            colour = Color.SaddleBrown;
            xPos   = x_Pos_Banner + 4 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + 3 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 6 * Bit_Multiplier0, 9 * Bit_Multiplier0);
            colour = Color.LightSkyBlue;
            xPos   = x_Pos_Banner + 5 * Bit_Multiplier0;
            yPos   = y_Pos_Banner + 4 * Bit_Multiplier0;
            grundmethoden.malen_Bit(graphics, xPos, yPos, colour, colour, 4 * Bit_Multiplier0, 7 * Bit_Multiplier0);

            #endregion
        }
예제 #14
0
        public static void malen_Malario(Graphics graphics, int x_Pos_Malario, int y_Pos_Malario, bool Sichtrichtung, bool gehen_Animation)
        {
            int           x_Bit_Multiplier0 = 2, y_Bit_Multiplier0 = 2;
            Color         füllfarbe     = Color.GreenYellow;
            Color         stiftfarbe    = Color.GreenYellow;
            Grundmethoden grundmethoden = new Grundmethoden();

            if (Sichtrichtung == true)
            {
                //Körper_Stehend_Links_Gelb
                if (gehen_Animation == true)
                {
                    x_Pos_Malario += (2 * x_Bit_Multiplier0);
                    y_Pos_Malario += (2 * y_Bit_Multiplier0);
                }
                else
                {
                    x_Pos_Malario += (2 * x_Bit_Multiplier0);
                    y_Pos_Malario += (3 * y_Bit_Multiplier0);
                }
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 7 * x_Bit_Multiplier0, 10 * y_Bit_Multiplier0);
                x_Pos_Malario += (7 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 10 * y_Bit_Multiplier0);
                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 8 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (5 * x_Bit_Multiplier0);
                y_Pos_Malario += (4 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 12 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);

                //Körper_Stehend_Links_Schwarz
                füllfarbe  = Color.Black;
                stiftfarbe = Color.Black;
                //Auge
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                //Hand
                y_Pos_Malario += (4 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);

                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 4 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (4 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (0 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (8 * x_Bit_Multiplier0);
                y_Pos_Malario -= (0 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 8 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                //Innen_Hinten
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                //Rest_Außen
                x_Pos_Malario -= (5 * x_Bit_Multiplier0);
                y_Pos_Malario -= (4 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                //Roter Wangenpunkt
                füllfarbe      = Color.DarkBlue;
                stiftfarbe     = Color.DarkBlue;
                x_Pos_Malario += (5 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                //Browner Schweif
                füllfarbe      = Color.Brown;
                stiftfarbe     = Color.Brown;
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 5 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (0 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 5 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 4 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);


                if (gehen_Animation == true)
                {
                    füllfarbe      = Color.GreenYellow;
                    stiftfarbe     = Color.GreenYellow;
                    x_Pos_Malario -= (8 * x_Bit_Multiplier0);
                    y_Pos_Malario += (3 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 10 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (7 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    //Schwarz
                    füllfarbe      = Color.Black;
                    stiftfarbe     = Color.Black;
                    x_Pos_Malario -= (0 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (2 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (0 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (4 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 4 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (2 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                }
            }
            else
            {
                //RECHTS
                //Körper_Stehend_Rechts_Gelb
                füllfarbe  = Color.GreenYellow;
                stiftfarbe = Color.GreenYellow;

                if (gehen_Animation == true)
                {
                    x_Pos_Malario += (5 * x_Bit_Multiplier0);
                    y_Pos_Malario += (2 * y_Bit_Multiplier0);
                }
                else
                {
                    x_Pos_Malario += (5 * x_Bit_Multiplier0);
                    y_Pos_Malario += (3 * y_Bit_Multiplier0);
                }
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 7 * x_Bit_Multiplier0, 10 * y_Bit_Multiplier0);
                x_Pos_Malario -= (4 * x_Bit_Multiplier0);
                y_Pos_Malario -= (0 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 4 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 8 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (3 * x_Bit_Multiplier0);
                y_Pos_Malario += (3 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (2 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 12 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                //Körper_Stehend_Rechts_Schwarz
                füllfarbe      = Color.Black;
                stiftfarbe     = Color.Black;
                x_Pos_Malario += (12 * x_Bit_Multiplier0);
                y_Pos_Malario += (0 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario += (3 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 4 * y_Bit_Multiplier0);
                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (0 * x_Bit_Multiplier0);
                y_Pos_Malario += (3 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (0 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (2 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (0 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 9 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (5 * x_Bit_Multiplier0);
                y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (0 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (2 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);
                x_Pos_Malario += (3 * x_Bit_Multiplier0);
                y_Pos_Malario -= (4 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 3 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (3 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 2 * y_Bit_Multiplier0);

                //Roter_Wangen_Punkt
                füllfarbe  = Color.DarkBlue;
                stiftfarbe = Color.DarkBlue;

                x_Pos_Malario -= (4 * x_Bit_Multiplier0);
                y_Pos_Malario += (3 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);

                //Brauner_Schwanz
                füllfarbe  = Color.Brown;
                stiftfarbe = Color.Brown;

                x_Pos_Malario -= (6 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 5 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario -= (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 4 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                x_Pos_Malario += (1 * x_Bit_Multiplier0);
                y_Pos_Malario += (1 * y_Bit_Multiplier0);
                grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 5 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);


                if (gehen_Animation == true)
                {
                    füllfarbe  = Color.GreenYellow;
                    stiftfarbe = Color.GreenYellow;

                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario += (2 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 10 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);


                    füllfarbe      = Color.Black;
                    stiftfarbe     = Color.Black;
                    x_Pos_Malario += (0 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (2 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (0 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (2 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 4 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (4 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (1 * x_Bit_Multiplier0);
                    y_Pos_Malario += (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario += (2 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 1 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                    x_Pos_Malario -= (2 * x_Bit_Multiplier0);
                    y_Pos_Malario -= (1 * y_Bit_Multiplier0);
                    grundmethoden.malen_Bit(graphics, x_Pos_Malario, y_Pos_Malario, füllfarbe, stiftfarbe, 2 * x_Bit_Multiplier0, 1 * y_Bit_Multiplier0);
                }
            }
        }
예제 #15
0
        public static void malen_Energy(Graphics graphics, int x_Pos0, int y_Pos0)
        {
            int           x_Pos = x_Pos0, y_Pos = y_Pos0;
            int           xLänge, yLänge;
            Color         color1        = Color.Black;
            Color         color2        = Color.DarkGray;
            Color         color3        = Color.LimeGreen;
            Grundmethoden grundmethoden = new Grundmethoden();

            //oberer Dosendeckel
            y_Pos += 3;
            x_Pos += 12;
            xLänge = 6;
            yLänge = 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xLänge, yLänge);

            //unterer Dosen Deckel
            y_Pos += 18;
            xLänge = 6;
            yLänge = 3;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color2, color2, xLänge, yLänge);

            //Mittlere Dose
            y_Pos -= 15;
            x_Pos -= 3;
            xLänge = 12;
            yLänge = 15;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color1, color1, xLänge, yLänge);

            //Monster Logo
            y_Pos += 4;
            xLänge = 4;
            yLänge = 1;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 4;
            xLänge = 4;
            yLänge = 1;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 4;
            xLänge = 3;
            yLänge = 1;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);

            x_Pos -= 7;
            y_Pos += 1;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 5;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 5;
            xLänge = 2;
            yLänge = 2;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);

            x_Pos -= 10;
            y_Pos += 1;
            xLänge = 1;
            yLänge = 6;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 5;
            xLänge = 1;
            yLänge = 6;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
            x_Pos += 5;
            xLänge = 1;
            yLänge = 6;
            grundmethoden.malen_Bit(graphics, x_Pos, y_Pos, color3, color3, xLänge, yLänge);
        }