Package games.stendhal.server.entity.mapstuff.portal

Examples of games.stendhal.server.entity.mapstuff.portal.Teleporter


    init(player);

  }

  private void init(final Player player) {
    Portal portal = new Teleporter(new Spot(player.getZone(), player.getX(), player.getY()));
    portal.setPosition(6, 3);
    add(portal);
    numCreatures = 0;
    int count = 0;
    // max ALLOWED_FAILS fails to place all creatures before we give up
    while (numCreatures < NUMBER_OF_CREATURES && count < ALLOWED_FAILS) {
View Full Code Here


    init(player);

  }

  private void init(final Player player) {
    Portal portal = new Teleporter(new Spot(player.getZone(),
        player.getX(), player.getY()));
    portal.setPosition(4, 8);
    add(portal);

    chest = new PersonalChest();
    chest.setPosition(4, 2);
    add(chest);
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.mapstuff.portal.Teleporter

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.