Package csa.jportal.ai

Examples of csa.jportal.ai.AIPlayer


    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        D.addLog("AI:getPowerTarget: " + list,debugLevel);

                    CardList damgedList = list.sortListByPower();
View Full Code Here


    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        CardList healerList = AIHelper.onlyWithHint(list, "HEAL_AMOUNT");
        int less=0;

        for (int i=0; i < healerList.size(); i++)
View Full Code Here

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        if (!myself)
        {
            return AIHelper.getHarmlessTarget(list, intelligence);
View Full Code Here

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int damageAmount = 0;
        damageAmount = AIHelper.getHintInt(source, "DAMAGE_AMOUNT");
        if (damageAmount == 0)
        {
View Full Code Here

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int damageAmount = 0;
        damageAmount = AIHelper.getHintInt(source, "DAMAGE_AMOUNT");
        if (damageAmount == 0)
        {
View Full Code Here

TOP

Related Classes of csa.jportal.ai.AIPlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.