Search in sources :

Example 1 with FrostBearCard

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();
}
Also used : FrostBearCard(Cards.Base.FrostBearCard) FrostBearMinion(Minions.Base.FrostBearMinion) ArakkoaMinion(Minions.Base.ArakkoaMinion) FrostBearCard(Cards.Base.FrostBearCard)

Example 2 with FrostBearCard

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);
}
Also used : FrostBearCard(Cards.Base.FrostBearCard) VengefullKnightCard(Cards.Base.VengefullKnightCard) FireBoltCard(Cards.Base.FireBoltCard) ArcherCard(Cards.Base.ArcherCard) VengefullKnightCard(Cards.Base.VengefullKnightCard) KnightCard(Cards.Base.KnightCard) ArakkoaCard(Cards.Base.ArakkoaCard)

Aggregations

FrostBearCard (Cards.Base.FrostBearCard)2 ArakkoaCard (Cards.Base.ArakkoaCard)1 ArcherCard (Cards.Base.ArcherCard)1 FireBoltCard (Cards.Base.FireBoltCard)1 KnightCard (Cards.Base.KnightCard)1 VengefullKnightCard (Cards.Base.VengefullKnightCard)1 ArakkoaMinion (Minions.Base.ArakkoaMinion)1 FrostBearMinion (Minions.Base.FrostBearMinion)1