Examples of Gandhi


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

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

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

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

  /**
   * Tests for hasValidTarget.
   */
  @Test
  public void testHasValidTarget() {
    final Gandhi g = new Gandhi();
    assertFalse(g.hasValidTarget(null));
  }
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.