Ejemplo n.º 1
0
        public override void BuildLevel(Screens.PlayScreen screen)
        {
            this.screen = screen;

            Factory.AddSpikeRow(screen, -100, GameConstants.ScreenHeight - 30, 10);
            Factory.AddLineObject(screen, 90, 400, 0, 0);
            star1 = Factory.AddStar(screen, 205, 230);

            star2 = Factory.AddStar(screen, 400, 260);
            LineObject l = Factory.AddHalfLineObject(screen, 325, 400, 0, 0);
            Factory.AddBackAndForthTransform(l, 35, 175, 0);
            star3 = Factory.AddStar(screen, 575, 230);

            l = Factory.AddLineObject(screen, 710, 400, 0, 0); // end
            StickyBirdObj bird = Factory.AddBird(screen, 120, 250);
            screen.SetBird(bird);
            Factory.AddNest(screen, 700, 380);
        }