public AI(CardsProtos.AI proto, Hand parent) { mEndCardAI = new EndCardSelection(parent); mPlayCardAI = new PlayCardSelection(parent.getID()); mHand = parent; mSelectedCards = new ArrayList<>(); ReadBuffer(proto); }
public AI(Identity mIdentity, Hand parent) { this.mIdentity = mIdentity; mEndCardAI = new EndCardSelection(parent); mPlayCardAI = new PlayCardSelection(parent.getID()); mHand = parent; mSelectedCards = new ArrayList<>(); }