Exemple #1
0
        protected override void LoadContent()
        {
            landscape = new Landscape2(this);

            model = Content.Load <Model>("Arrow");
            arrow = new Arrow(model, this, 0, 0, 0);
            models.Push(arrow);
            model = Content.Load <Model>("Ball");
            ball  = new Ball(model, this, 0, 0, 0);
            models.Push(ball);
            model = Content.Load <Model>("Pin");
            pin   = new GameModel(model, this, 0, 0, 0);
            models.Push(pin);

            movement = new BallMovement(this);

            base.LoadContent();
        }
Exemple #2
0
        protected override void LoadContent()
        {
            landscape = new Landscape2(this);

            model = Content.Load<Model>("Arrow");
            arrow = new Arrow(model, this, 0, 0, 0);
            models.Push(arrow);
            model = Content.Load<Model>("Ball");
            ball = new Ball(model, this, 0, 0, 0);
            models.Push(ball);
            model = Content.Load<Model>("Pin");
            pin = new GameModel(model, this, 0, 0, 0);
            models.Push(pin);

            movement = new BallMovement(this);

            base.LoadContent();
        }