public ActionCard takeTopCard() { ActionCard top = this.getPlayedCardsAt(this.playedCards.Count - 1); this.removePlayedCardsAt(this.playedCards.Count - 1); return(top); }
public Bandit(string c) { this.characterAsString = c; this.hostageAsString = null; this.loot = new ArrayList(); this.bullets = new ArrayList(); this.deck = new ArrayList(); this.hand = new ArrayList(); this.toResolve = null; this.consecutiveTurnCounter = 0; }
public Corp( IPilot pilot, Turn turn, PaidWindow paidWindow, ActionCard actionCard, zones.corp.Zones zones, ClickPool clicks, CreditPool credits, Card identity ) { this.pilot = pilot; this.turn = turn; this.paidWindow = paidWindow; this.actionCard = actionCard; this.zones = zones; this.clicks = clicks; this.credits = credits; this.identity = identity; }
public Runner( IPilot pilot, RunnerTurn turn, PaidWindow paidWindow, ActionCard actionCard, int tags, Zones zones, ClickPool clicks, CreditPool credits, Card identity ) { this.pilot = pilot; this.turn = turn; this.paidWindow = paidWindow; this.actionCard = actionCard; this.tags = tags; this.zones = zones; this.clicks = clicks; this.credits = credits; this.identity = identity; }
public bool containsPlayedCard(ActionCard a) { bool contains = this.playedCards.Contains(a); return(contains); }
public void removePlayedCard(ActionCard a) { this.playedCards.Remove(a); }
public void addPlayedCards(ActionCard a) { this.playedCards.Insert(0, a); }
public void addPlayedCardsAt(int index, ActionCard a) { this.playedCards.Insert(index, a); }
public void setToResolve(ActionCard ac) { this.toResolve = ac; }