Package games.stendhal.server.entity.creature.impl.attack

Examples of games.stendhal.server.entity.creature.impl.attack.Gandhi


  /**
   * Tests for attack.
   */
  @Test
  public void testAttack() {
    final Gandhi g = new Gandhi();
    final Creature c = new Creature();
    g.attack(null);
    g.attack(c);
    assertFalse(c.isAttacking());
  }
View Full Code Here


  /**
   * Tests for canAttackNow.
   */
  @Test
  public void testCanAttackNow() {
    final Gandhi g = new Gandhi();
    assertFalse(g.canAttackNow(null));
  }
View Full Code Here

  /**
   * Tests for hasValidTarget.
   */
  @Test
  public void testHasValidTarget() {
    final Gandhi g = new Gandhi();
    assertFalse(g.hasValidTarget(null));
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.creature.impl.attack.Gandhi

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.