Package games.stendhal.server.entity

Examples of games.stendhal.server.entity.PassiveEntity


    }

    final int x = action.getInt(X);
    final int y = action.getInt(Y);

    final PassiveEntity entity = (PassiveEntity) object;

    if (mayDisplace(player, zone, x, y, entity)) {
      displace(player, zone, x, y, entity, quantity);
    }
  }
View Full Code Here


  @Test(expected = SlotIsFullException.class)
  public final void testSize() {
    final Chest ch = new Chest();
    assertEquals(0, ch.size());
    for (int i = 0; i < 30; i++) {
      ch.add(new PassiveEntity() {
      });
    }
    assertEquals(30, ch.size());
    ch.add(new PassiveEntity() {
    });
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.PassiveEntity

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.