Package smack.down

Examples of smack.down.Action.play()


    Action action = new Augmentation();
    action.setOwner(player1);
   
    assertEquals(2, m1.getStrength());
   
    action.play(m1, new Callback(){});
   
    assertEquals(6, m1.getStrength());
   
    player1.endTurn(new Callback(){});
   
View Full Code Here


    assertEquals(5, m2.getStrength());
    assertEquals(7, m3.getStrength());
    assertEquals(3, m4.getStrength());
    assertEquals(6, m5.getStrength());
   
    action.play(new Callback(){});
   
    assertEquals(3, m1.getStrength());
    assertEquals(6, m2.getStrength());
    assertEquals(8, m3.getStrength());
    assertEquals(4, m4.getStrength());
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.