Package com.zonga.supapuker.model

Examples of com.zonga.supapuker.model.Player


    private Player player1;
    private Player player2;

    @Before
    public void initPlayers() {
        player1 = new Player("Player 1", 20, 3);
        player2 = new Player("Player 2", 20, 3);
    }
View Full Code Here


    public void red_versus_blue_notsame_value_player1TakesDamage() {
        check(BLUE, 5, RED, 10, 5, 0);
    }

    private void check(final PGCardColor c1Color, final int c1Value, final PGCardColor c2Color, final int c2Value, final int p1DamagesTaken, final int p2DamagesTaken) {
        Player p1 = mock(Player.class);
        Player p2 = mock(Player.class);
        Card c1 = mock(Card.class);
        when(c1.getColor()).thenReturn(c1Color);
        when(c1.getValue()).thenReturn(c1Value);

        Card c2 = mock(Card.class);
View Full Code Here

TOP

Related Classes of com.zonga.supapuker.model.Player

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.