Package games.stendhal.server.maps.quests

Examples of games.stendhal.server.maps.quests.AdosDeathmatch.createNPC()


   */
  @Test
  public void testBailNoDM() {
    final StendhalRPZone zone = new StendhalRPZone("zone");
    final AdosDeathmatch adm = new AdosDeathmatch(zone, new Area(zone, 0, 0, 1, 1));
    adm.createNPC("th", 0, 0);
    final SpeakerNPC th = NPCList.get().get("th");
    assertNotNull(th);
    final Engine en = th.getEngine();
    final Player player = PlayerTestHelper.createPlayer("bob");
    en.setCurrentState(ConversationStates.ATTENDING);
View Full Code Here


   */
  @Test
  public void testBailDoneDM() {
    final StendhalRPZone zone = new StendhalRPZone("zone");
    final AdosDeathmatch adm = new AdosDeathmatch(zone, new Area(zone, 0, 0, 1, 1));
    adm.createNPC("th", 0, 0);
    final SpeakerNPC th = NPCList.get().get("th");
    assertNotNull(th);
    final Engine en = th.getEngine();
    final Player player = PlayerTestHelper.createPlayer("bob");
    en.setCurrentState(ConversationStates.ATTENDING);
View Full Code Here

   */
  @Test
  public void testBailStartedDMNOhelmet() {
    final StendhalRPZone zone = new StendhalRPZone("zone");
    final AdosDeathmatch adm = new AdosDeathmatch(zone, new Area(zone, 0, 0, 1, 1));
    adm.createNPC("th", 0, 0);
    final SpeakerNPC th = NPCList.get().get("th");
    assertNotNull(th);
    final Engine en = th.getEngine();
    final Player player = PlayerTestHelper.createPlayer("bob");
    en.setCurrentState(ConversationStates.ATTENDING);
View Full Code Here

   */
  @Test
  public void testFire() {
    final StendhalRPZone zone = new StendhalRPZone("zone");
    final AdosDeathmatch adm = new AdosDeathmatch(zone, new Area(zone, 0, 0, 1, 1));
    adm.createNPC("th", 0, 0);
    final SpeakerNPC th = NPCList.get().get("th");
    assertNotNull(th);
    final Engine en = th.getEngine();
    final Player player = PlayerTestHelper.createPlayer("bob");
    en.setCurrentState(ConversationStates.ATTENDING);
View Full Code Here

    final Rectangle2D shape = new Rectangle2D.Double();
    shape.setRect(88, 77, 112 - 88 + 1, 94 - 77 + 1);
    final Area arena = new Area(zone, shape);
    final AdosDeathmatch deathmatch = new AdosDeathmatch(zone, arena);
    deathmatch.createHelmet(102, 75);
    deathmatch.createNPC("Thanatos", 98, 77);
  }
}
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.