Package games.pickupbot

Examples of games.pickupbot.Game.addListener()


    }

    public void testGatherPickupGame() {
        Game game = Game.tryParse(this.games[2]);

        game.addListener(new GameListener() {
            @Override
            public void pickupFormed(Game game) {
                assertTrue(game.getPlayerNicknames()[0].startsWith("testPlayerNick1"));
                assertTrue(game.getPlayerNicknames()[1].startsWith("testPlayerNick2"));
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.