use of Cards.Base.FrostBearCard in project cardgame1 by joey101937.
the class Board method setupTest.
/**
* prepopulates the board and makes heros draw for testing purposes
*/
private void setupTest() {
Card parent = new FrostBearCard();
parent.setHero(topHero);
topHero.minions.add(new FrostBearMinion(parent));
topHero.minions.add(new ArakkoaMinion(topHero.deck.get(0)));
topHero.minions.add(new ArakkoaMinion(topHero.deck.get(0)));
botHero.minions.add(new ArakkoaMinion(botHero.deck.get(0)));
Board.topHero.draw();
Board.botHero.draw();
Board.botHero.draw();
Board.botHero.draw();
Board.botHero.draw();
}
use of Cards.Base.FrostBearCard in project cardgame1 by joey101937.
the class Main method legacyMain.
/**
* old main method commands for referance
*/
private void legacyMain() {
setBackgroundImage();
SpriteHandler.Initialize();
for (int i = 0; i < 5; i++) {
enemyCards.add(new ArakkoaCard());
enemyCards.add(new FireBoltCard());
enemyCards.add(new FrostBearCard());
enemyCards.add(new ArcherCard());
enemyCards.add(new KnightCard());
enemyCards.add(new VengefullKnightCard());
}
giveFishPackage();
Hero enemy = new Hero("AI Hero", enemyCards, SpriteHandler.ashePortrait);
Hero player = new Hero("Player Hero", playerCards, SpriteHandler.ashePortrait);
mainBoard = new Board(enemy, player);
}
Aggregations