Package games.stendhal.server.entity.item.token

Examples of games.stendhal.server.entity.item.token.BoardToken


   *            x-position
   * @param y
   *            y-position
   */
  private void addTokenToWorld(String name, int x, int y) {
    final BoardToken token = (BoardToken) SingletonRepository.getEntityManager().getItem(name);
    token.setPosition(x, y);
    token.setHomePosition(x, y);
    token.setTokenMoveListener(this);
    getZone().add(token, false);
    tokens.add(token);
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.item.token.BoardToken

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.