Exemple #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;
        }
        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);
        }
Exemple #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);
            }
        }
        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;
        }
 public GtChooseSongScreen(XnaGame pGame)
     : base(pGame)
 {
 }
Exemple #6
0
 public GtNotesLegend(XnaGame pGame)
 {
     this.Game = pGame;
 }
Exemple #7
0
 public GtMenuScreen(XnaGame pGame)
     : base(pGame)
 {
 }
Exemple #8
0
 public GtMainScreen(XnaGame pGame)
     : base(pGame)
 {
 }
Exemple #9
0
 public GtTuneScreen(XnaGame pGame, IGtTuneController pGtTuneController)
     : base(pGame)
 {
     this.GtTuneController = pGtTuneController;
 }