Package csa.jportal.ai.standardAI.hints

Examples of csa.jportal.ai.standardAI.hints.AIHintsData


        AICardHints otherHints = new AICardHints(otherCard);
        AICardHints myHints = new AICardHints(mCurrentCard);

        for (int i=0; i< otherHints.size();i++)
        {
            AIHintsData otherHint = otherHints.getHintByRow(i);
            AIHintsData aHint = AICardHints.buildNewHint(mCurrentCard);

            aHint.setHintComment(otherHint.getHintComment());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setSituation(otherHint.getSituation());
            aHint.setHintVarName(otherHint.getHintVarName());
            aHint.setHintVarType(otherHint.getHintVarType());
            aHint.setIsTemplate(false);
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            myHints.addHint(aHint);
        }
        myHints.save();
        setAIHintsForCard();


        // TODO EnhancedAI Hints
        AIEnhancedCardHints eotherHints = AIEnhancedCardHints.getHints(otherCard);
        AIEnhancedCardHints emyHints = AIEnhancedCardHints.getHints(mCurrentCard);

        for (int i=0; i< eotherHints.size();i++)
        {
            AIEnhancedHintData otherHint = eotherHints.getHintByRow(i);
            AIEnhancedHintData aHint = AIEnhancedHint.buildNewHint(mCurrentCard);

            aHint.setHintKey(otherHint.getHintKey());
            aHint.setHintNumber(otherHint.getHintNumber());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintType(otherHint.getHintType());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            emyHints.addHint(aHint);
        }
        emyHints.save();
        setAIHintsForCard();
View Full Code Here


        AICardHints otherHints = new AICardHints(otherCard);
        AICardHints myHints = new AICardHints(mCurrentCard);

        for (int i=0; i< otherHints.size();i++)
        {
            AIHintsData otherHint = otherHints.getHintByRow(i);
            AIHintsData aHint = AICardHints.buildNewHint(mCurrentCard);

            aHint.setHintComment(otherHint.getHintComment());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setSituation(otherHint.getSituation());
            aHint.setHintVarName(otherHint.getHintVarName());
            aHint.setHintVarType(otherHint.getHintVarType());
            aHint.setIsTemplate(false);
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            myHints.addHint(aHint);
        }
        myHints.save();
        // setAIHintsForCard();


        // TODO EnhancedAI Hints
        AIEnhancedCardHints eotherHints = AIEnhancedCardHints.getHints(otherCard);
        AIEnhancedCardHints emyHints = AIEnhancedCardHints.getHints(mCurrentCard);

        for (int i=0; i< eotherHints.size();i++)
        {
            AIEnhancedHintData otherHint = eotherHints.getHintByRow(i);
            AIEnhancedHintData aHint = AIEnhancedHint.buildNewHint(mCurrentCard);

            aHint.setHintKey(otherHint.getHintKey());
            aHint.setHintNumber(otherHint.getHintNumber());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintType(otherHint.getHintType());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            emyHints.addHint(aHint);
        }
        emyHints.save();
        // setAIHintsForCard();
    }
View Full Code Here

        AICardHints otherHints = new AICardHints(otherCard);
        AICardHints myHints = new AICardHints(mCurrentCard);

        for (int i=0; i< otherHints.size();i++)
        {
            AIHintsData otherHint = otherHints.getHintByRow(i);
            AIHintsData aHint = AICardHints.buildNewHint(mCurrentCard);

            aHint.setHintComment(otherHint.getHintComment());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setSituation(otherHint.getSituation());
            aHint.setHintVarName(otherHint.getHintVarName());
            aHint.setHintVarType(otherHint.getHintVarType());
            aHint.setIsTemplate(false);
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            myHints.addHint(aHint);
        }
        myHints.save();
        // setAIHintsForCard();


        // TODO EnhancedAI Hints
        AIEnhancedCardHints eotherHints = AIEnhancedCardHints.getHints(otherCard);
        AIEnhancedCardHints emyHints = AIEnhancedCardHints.getHints(mCurrentCard);

        for (int i=0; i< eotherHints.size();i++)
        {
            AIEnhancedHintData otherHint = eotherHints.getHintByRow(i);
            AIEnhancedHintData aHint = AIEnhancedHint.buildNewHint(mCurrentCard);

            aHint.setHintKey(otherHint.getHintKey());
            aHint.setHintNumber(otherHint.getHintNumber());
            aHint.setHintName(otherHint.getHintName());
            aHint.setHintType(otherHint.getHintType());
            aHint.setHintValue(otherHint.getHintValue());
            aHint.setCardID(mCurrentCard.getId());
            aHint.setCardSet(mCurrentCard.getSet());
            emyHints.addHint(aHint);
        }
        emyHints.save();
        // setAIHintsForCard();
    }
View Full Code Here

TOP

Related Classes of csa.jportal.ai.standardAI.hints.AIHintsData

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.