Пример #1
0
        public OpponentTrainerFirstPokemonPhase(List <TrainerSprite> trainerSprites, List <TrainerPokemonStatus> trainerPokemonStatuses)
        {
            this.trainerSprites         = trainerSprites;
            this.trainerPokemonStatuses = trainerPokemonStatuses;
            PokemonBattleSprite pokemonBattleSpriteTest = new PokemonBattleSprite(new PokemonBattleSpriteData(0, 0, new Vector2(165, 55), Color.White, "Pokemons/weedle_front", PokemonBattleSpriteData.PokemonFacings.Front));

            pokeBall = new PokeBall(new PokeBallData(new Vector2(165, 55), "Battle/Pokeballs/pokeball_regular"), new NoPokeBallEnterAnimation(), new TransparentPokemonEnterBattleAnimation(pokemonBattleSpriteTest.GetPokemonBattleSpriteData()));
            this.pokemonBattleSpriteTest = pokemonBattleSpriteTest;
        }
        public PlayerTrainerOutPhase(List <TrainerSprite> trainerSprites, List <TrainerPokemonStatus> trainerPokemonStatuses, IPokemonBattleSprite opponentPokemonBattleSprite) : base(trainerSprites, trainerPokemonStatuses)
        {
            this.opponentPokemonBattleSprite = opponentPokemonBattleSprite;
            PokemonBattleSprite pokemonBattleSpriteTest = new PokemonBattleSprite(new PokemonBattleSpriteData(0, 0, new Vector2(50, 160), Color.White, "Pokemons/charmander", PokemonBattleSpriteData.PokemonFacings.Back));

            pokeBall = new PokeBall(new PokeBallData(new Vector2(0, 70), "Battle/Pokeballs/pokeball_regular"), new PlayerCastingPokeBallEnterAnimation(), new GrowPokemonEnterBattleAnimation(pokemonBattleSpriteTest.GetPokemonBattleSpriteData()));
            this.pokemonBattleSpriteTest = pokemonBattleSpriteTest;
        }