Package com.jcloisterzone.event

Examples of com.jcloisterzone.event.TileEvent.undo()


        Phase phase = game.getPhase();
        phase.placeTile(Rotation.R90, new Position(-2, 0));
        assertEquals(1, game.events.size());

        TileEvent ev = (TileEvent) game.events.get(0);
        ev.undo(game);
        game.setPhase(phase);

        String s2 = snapshotGame(game);
        assertEquals(s1, s2);
    }
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.