Package games.stendhal.server.entity.npc

Examples of games.stendhal.server.entity.npc.NPC


    final Player player2 = PlayerTestHelper.createPlayer("player2");
    processor.addPlayer(player2);
    zone.add(player2);

    final NPC npc = new SpeakerNPC("npc");
    zone.add(npc);
  }
View Full Code Here


    final BarMaidNPC barmaidConfigurator = new BarMaidNPC();

    final StendhalRPZone zone = new StendhalRPZone("testzone");
    barmaidConfigurator.configureZone(zone, null);
    assertFalse(zone.getNPCList().isEmpty());
    final NPC barMaid = zone.getNPCList().get(0);
    assertThat(barMaid.getName(), is("Siandra"));
    assertThat(barMaid.getDescription(), is("You see a pretty young bar maid."));
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.NPC

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.