Пример #1
0
        public void Start()
        {
            ScoreRenderer = new ScoreItem(texturemanager);
            leftBottomBox = new LeftBottomBox(texturemanager);

            leftBottomBox = new LeftBottomBox(texturemanager);
            TitleStartBox = new GameViewComponent.TitleStartBox(texturemanager, 0, 220);
            TitleStartBox.BindStage(GameViewComponent.TitleStartBox.Stage1);           //绑定为Stage1

            BGMChangeBox = new GameViewComponent.BGMChangeBox(texturemanager, 0, 420); //绑定BGM盒
        }
Пример #2
0
        public GameView(TextureManager _t, SoundManagerEx _s, int level, Player p)
        {
            texturemanager     = _t;
            soundmanager       = _s;
            rendererlevel      = level;
            this.player        = p;
            GameEntityRenderer = Stage1State._renderer;          //获取控制器处的renderer
            // _Particles = new Particle.FlyingFlowersParticles(texturemanager);
            ScoreRenderer = new ScoreItem(_t);

            leftBottomBox = new LeftBottomBox(texturemanager);
            TitleStartBox = new GameViewComponent.TitleStartBox(texturemanager);
            BGMChangeBox  = new GameViewComponent.BGMChangeBox(texturemanager);
        }
Пример #3
0
        public void Start()
        {
            ScoreRenderer = new ScoreItem(texturemanager);
            leftBottomBox = new LeftBottomBox(texturemanager);

            leftBottomBox = new LeftBottomBox(texturemanager);
            TitleStartBox = new GameViewComponent.TitleStartBox(texturemanager,0,220);
            TitleStartBox.BindStage(GameViewComponent.TitleStartBox.Stage1);      //绑定为Stage1

            BGMChangeBox = new GameViewComponent.BGMChangeBox(texturemanager,0,420); //绑定BGM盒
        }
Пример #4
0
        Particle.Particles _Particles; //粒子效果

        #endregion Fields

        #region Constructors

        public GameView(TextureManager _t, SoundManagerEx _s , int level , Player p)
        {
            texturemanager = _t;
            soundmanager = _s;
            rendererlevel = level;
            this.player = p;
            GameEntityRenderer = Stage1State._renderer;          //获取控制器处的renderer
            // _Particles = new Particle.FlyingFlowersParticles(texturemanager);
            ScoreRenderer = new ScoreItem(_t);

            leftBottomBox = new LeftBottomBox(texturemanager);
            TitleStartBox = new GameViewComponent.TitleStartBox(texturemanager);
            BGMChangeBox = new GameViewComponent.BGMChangeBox(texturemanager);
        }