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();