Package games.stendhal.server.core.engine.transformer

Examples of games.stendhal.server.core.engine.transformer.OfferTransformer


    transformerMap.put("growing_entity_spawner", new FlowerGrowerTransFormer());
    transformerMap.put(ArrestWarrant.RPCLASS_NAME, new ArrestWarrantTransformer());
    transformerMap.put(RentedSign.RPCLASS_NAME, new RentedSignTransformer());
    transformerMap.put("chest", new StoredChestTransformer());
    transformerMap.put("house_portal", new HousePortalTransformer());
    transformerMap.put(Offer.OFFER_RPCLASS_NAME, new OfferTransformer());
    transformerMap.put(Earning.EARNING_RPCLASS_NAME, new EarningTransformer());
    transformerMap.put(Market.MARKET_RPCLASS_NAME, new MarketTransformer());
    transformerMap.put("player", new PlayerTransformer());
    transformerMap.put(Spell.RPCLASS_SPELL, new SpellTransformer());
  }
View Full Code Here


   
    assertTrue(market.contains(offer));
    assertFalse(offer.getItem().getContainer().equals(bob));
    assertTrue(offer.getItem().getContainer().equals(offer));
    assertNull(bob.getFirstEquipped("axe"));
    Offer object = (Offer) new OfferTransformer().transform(offer);
    assertEquals(offer, object);
    assertFalse(object.getItem().getContainer().equals(bob));
    assertTrue(object.getItem().getContainer().equals(offer));
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.engine.transformer.OfferTransformer

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.