Class EntityMap

java.lang.Object
games.stendhal.client.entity.factory.EntityMap

public final class EntityMap extends Object
Registers the relationship between Type, eclass and java class of entity Objects.

eclass represents a subtype of type

EntityMap encapsulates the implementation

  • Constructor Details

    • EntityMap

      public EntityMap()
  • Method Details

    • getClass

      public static Class<? extends IEntity> getClass(String type, String eclass, String subClass)
      Parameters:
      type - the type of the entity to be created, such as Item, creature
      eclass - the subtype of type such as book, drink, food , , small_animal, huge_animal
      subClass -
      Returns:
      the java class of the Entity belonging to type and eclass