private Unit(L5R.Card personality, L5R.Player unitOwner, int unitNum) { cardsInUnit = new List <L5R.Card>(); cardsInUnit.Add(personality); this.owner = unitOwner; this.unitNumber = unitNum; this.locationOfUnit = locHome; }
/** Swaps active players */ private void swapActivePlayer() { if (activePlayer == player1) { activePlayer = player2; } else { activePlayer = player1; } }
public GameState(L5R.Player p1, L5R.Player p2) { this.turnCounter = 1; this.player1 = p1; this.player2 = p2; //place test to see who active player should be; this.activePlayer = p1; this.gameOver = false; this.unitID = 0; }