Exemplo n.º 1
0
        public Game_Logic(SizeF clinetSize)
        {
            charakter = new Charakter(clinetSize);
            charakter.CharakterReset();
            rectangles = new Rectangles(clinetSize);

            collision = false;
        }
Exemplo n.º 2
0
        public Graphics_Paint(Game_Logic game_Logic)
        {
            charakter  = game_Logic.Charakter;
            rectangles = game_Logic.Rectangles;

            DinoAnimationImage     = Properties.Resources.Dinoanimation;
            CactiAnimationImag     = Properties.Resources.Cacti_Imges;
            LargCactiAnimationImag = Properties.Resources.LargCacti;
            GameOverSceenImg       = Properties.Resources.GameOverSceen;
            CloudImg  = Properties.Resources.clound;
            this.Base = Properties.Resources.BaseLine;

            animationIndex = 0;
            generator      = new Random();
            xRect          = 100; yRect = 100; x = 0;

            hitboxShow = false;
        }