Ejemplo n.º 1
0
    //Interface

    public void UseMove(int moveIndex)
    {
        //Create a battle command to use this move
        BattleCommand playerCommand = BattleCommand.CreateUseCommand(playerPokemon, enemyPokemon, moveIndex);

        //Do the turn
        DoTurn(playerCommand);
    }
Ejemplo n.º 2
0
    private BattleCommand DecideEnemyCommand()
    {
        //TODO: Choose a random command for the enemy to use

        return(BattleCommand.CreateUseCommand(enemyPokemon, playerPokemon, 0));
    }