예제 #1
0
        public GtEqualizer(XnaGame pGame, int x, int y)
        {
            this.Game = pGame;
            this.Fft  = new float[EQUALIZER_LENGTH];

            this.X = x;
            this.Y = y;
        }
예제 #2
0
        public GtPlayingSongScreen(XnaGame pGame, IGtGameRoundController pGameRoundController)
            : base(pGame)
        {
            if (pGameRoundController == null)
                throw new Exception("pGameController can't be null");

            this.fGameRoundController = pGameRoundController;

            this.fEqualizer = new GtEqualizer(pGame, 60, 300);

            this.fGtNotesLegend = new GtNotesLegend(pGame);
        }
예제 #3
0
        public GtScreenBase(XnaGame pGame)
        {
            if (pGame == null)
            {
                throw new Exception("pGame can't be null");
            }

            this.fGame = pGame;

            if (this.fGame != null)
            {
                this.SpriteBatch = new SpriteBatch(pGame.GraphicsDevice);
            }
        }
예제 #4
0
        public GtSceneGuitarRender(XnaGame pGame, int x, int pScreenHeight)
        {
            this.Game = pGame;

            this.X = x;
            this.Y = 0;
            this.MatchAreaHeight = 40;
            this.Distance        = 35;
            this.ScreenHeight    = pScreenHeight;

            this.BallWidth = this.Distance - 5;

            this.Height = this.ScreenHeight - this.MatchAreaHeight;
        }
예제 #5
0
 public GtChooseSongScreen(XnaGame pGame)
     : base(pGame)
 {
 }
예제 #6
0
 public GtNotesLegend(XnaGame pGame)
 {
     this.Game = pGame;
 }
예제 #7
0
 public GtMenuScreen(XnaGame pGame)
     : base(pGame)
 {
 }
예제 #8
0
 public GtMainScreen(XnaGame pGame)
     : base(pGame)
 {
 }
예제 #9
0
 public GtTuneScreen(XnaGame pGame, IGtTuneController pGtTuneController)
     : base(pGame)
 {
     this.GtTuneController = pGtTuneController;
 }