protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(Game.GraphicsDevice);

            gokuPlayer = new GokuPlayer(Game.Content.Load<Texture2D>(@"Images/Goku"), Game.Content.Load<SoundEffect>(@"Sound/Dragonball Z Charge Sound"), Game.Content.Load<SoundEffect>(@"Sound/SSloop"), PlayerIndex.Two);
            vegetaPlayer = new VegetaPlayer(Game.Content.Load<Texture2D>(@"Images/Vegeta"), Game.Content.Load<SoundEffect>(@"Sound/Dragonball Z Charge Sound"), Game.Content.Load<SoundEffect>(@"Sound/SSloop"), PlayerIndex.One);

            font = Game.Content.Load<SpriteFont>("Images/dbzFont");
            //platform = new Platform(Game.Content.Load<Texture2D>(@"Images/BlankPlatform"), new Vector2(200,200));
            

          

            spriteList.Add(new Gohan(Game.Content.Load<Texture2D>(@"Images/gohan")));

            platformList.Add(new Platform(Game.Content.Load<Texture2D>(@"Images/BlankPlatform"), new Vector2(100, 400)));
            platformList.Add(new Platform(Game.Content.Load<Texture2D>(@"Images/BlankPlatform"), new Vector2(200, 600)));
            platformList.Add(new Platform(Game.Content.Load<Texture2D>(@"Images/BlankPlatform"), new Vector2(800, 600)));
            platformList.Add(new Platform(Game.Content.Load<Texture2D>(@"Images/BlankPlatform"), new Vector2(900, 400)));

            spriteList.Add(new Frieza(Game.Content.Load<Texture2D>(@"Images/frieza")));
            background = Game.Content.Load<Texture2D>(@"Images/background");
            base.LoadContent();
        }
Example #2
0
 public ChargingState(DbzPlayer player)
     : base(player)
 {
 }
Example #3
0
 public JumpKickState(DbzPlayer player)
     : base(player)
 {
 }
Example #4
0
 public JumpingState(DbzPlayer player)
     : base(player)
 {
 }
Example #5
0
 public RunningState(DbzPlayer player)
     : base(player)
 {
 }
Example #6
0
 public IdleState(DbzPlayer player)
     : base(player)
 {
     // define the standing still frame
     //stillFrame = new Point(14, 0);
 }
Example #7
0
 protected AbstractState(DbzPlayer player)
 {
     this.player = player;
 }