public Game2D()
            : base("Game2D")
        {
            _background = new GameSprite("Game2D/BackGround");
            AddSceneObject(_background);

            _hero = new Hero2D();
            AddSceneObject(_hero);

            _enemy = new Enemy2D();
            AddSceneObject(_enemy);
        }
        public override void Initialize()
        {
            _background = new GameSprite("Game2D/Background");
            _background.DrawInFrontOf3D = false;
            AddSceneObject(_background);

            _hero = new Hero2D();
            _hero.DrawBoundingRect = true;
            AddSceneObject(_hero);

            _staticHero = new GameAnimatedSprite("Game2D/Hero_Spritesheet", 8, 80, new Point(32, 39));
            _staticHero.CreateBoundingRect(32,39, Vector2.Zero);
            AddSceneObject(_staticHero);
            _staticHero.Translate(400, 388);
            _staticHero.PivotPoint = new Vector2(16, 39);
            _staticHero.DrawBoundingRect = true;

            _staticHero.PlayAnimation(true);

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

            base.Initialize();
        }