public override void Initialize()
 {
     _hero = new GameAnimatedModel("Game3D/Vampire");
     _hero.CreateBoundingBox(25, 50, 25, new Vector3(0, 25, 0));
     _hero.SetAnimationSpeed(_animationSpeedScale);
     AddChild(_hero);
     Translate(0, -147, -100);
     base.Initialize();
 }
        public override void Initialize()
        {
            base.Initialize();

            _enemyModel = new GameAnimatedModel("Game3D/Enemy");
            AddChild(_enemyModel);
            _enemyModel.AnimationComplete += EnemyAnimationComplete;

            _rock = new Rock3D();
            _rock.Initialize();

            _rand = new Random();
            _appearDelay = _rand.Next(MinAppearDelay, MaxAppearDelay);
            _dropDelay = _rand.Next(MinDropDelay, MaxDropDelay);
        }
        public override void Initialize()
        {
            _background = new GameSprite("Game2D/Background");
            _background.DrawInFrontOf3D = false;
            AddSceneObject(_background);

            _hero = new Hero3D();
            _hero.DrawBoundingBox = true;
            AddSceneObject(_hero);

            _staticHero = new GameAnimatedModel("Game3D/Vampire");
            _staticHero.CreateBoundingBox(25, 50, 25, new Vector3(0, 25, 0));
            _staticHero.SetAnimationSpeed(1.0f);
            AddSceneObject(_staticHero);
            _staticHero.Translate(150, -147, -100);
            _staticHero.DrawBoundingBox = true;

            // Tick the camera
            AddSceneObject(SceneManager.RenderContext.Camera);

            base.Initialize();
        }