Пример #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);
    }
Пример #2
0
    private BattleCommand DecideEnemyCommand()
    {
        //TODO: Choose a random command for the enemy to use

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