Package games.stendhal.client.entity

Examples of games.stendhal.client.entity.IEntity.initialize()


      if (entityClass == null) {
          return null;
      }

      final IEntity en = entityClass.newInstance();
      en.initialize(object);
      if (en instanceof Entity) {
        EventDispatcher.dispatchEvents(object, (Entity) en);
      }

View Full Code Here


    character.put("y", 0);
    // ignore ghostmode for showing the image
    character.remove("ghostmode");
    // ignore player killer skull
    character.remove("last_player_kill_time");
    player.initialize(character);
   
    EntityView view = EntityViewFactory.create(player);
    // this if-block is there to be compatible with Stendhal 0.84 that is missing information
    Icon icon = null;
    if (view != 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.