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