Examples of OutwearClothes


Examples of games.stendhal.server.entity.npc.behaviour.impl.OutfitChangerBehaviour.OutwearClothes

  public void testOnWornOff() {
    Map<String, Integer> pricelist = new HashMap<String, Integer>();
    pricelist.put("trunks", Integer.valueOf(50));
    OutfitChangerBehaviour beh = new OutfitChangerBehaviour(pricelist);
    Player player = PlayerTestHelper.createPlayer("bob");
    OutwearClothes cloth = beh.new OutwearClothes(player);
    OutwearClothes cloth2 = beh.new OutwearClothes(player);
    assertTrue(cloth.equals(cloth2));
    assertTrue(cloth2.equals(cloth));
   
    OutwearClothes cloth3 = beh.new OutwearClothes(PlayerTestHelper.createPlayer("bob"));
   
    assertTrue(cloth.equals(cloth3));
    assertTrue(cloth3.equals(cloth));
   
  }
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.