Examples of disallowIn()


Examples of games.stendhal.server.core.engine.StendhalRPZone.disallowIn()

    final Player juliet = PlayerTestHelper.createPlayer("juliet");
    PlayerTestHelper.registerPlayer(romeo, "int_semos_guard_house");
    PlayerTestHelper.registerPlayer(juliet, "int_semos_guard_house");
   
    final StendhalRPZone zone = (StendhalRPZone) MockStendlRPWorld.get().getRPZone("int_semos_guard_house");
    zone.disallowIn();
       
    final WeddingRing ring = (WeddingRing) SingletonRepository.getEntityManager().getItem("wedding ring");
    ring.setInfoString("juliet");
   
    final WeddingRing ring2 = (WeddingRing) SingletonRepository.getEntityManager().getItem("wedding ring");
View Full Code Here

Examples of games.stendhal.server.core.engine.StendhalRPZone.disallowIn()

    portal.setPosition(pos.x, pos.y);
    zone.add(portal);

    // disable double click move and teleport in
    zone.setMoveToAllowed(false);
    zone.disallowIn();

    // Add some scrolls
    addPrizes(zone);

    /*
 
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.