Class EntityFactory

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

public class EntityFactory extends Object
creates a Stendhal Entity object based on a Marauroa RPObject.
Author:
astridemma
  • Constructor Details

    • EntityFactory

      protected EntityFactory()
  • Method Details

    • createEntity

      public static IEntity createEntity(RPObject object)
      Creates an Entity of the correct type depending on the Marauroa object.
      Parameters:
      object - the underlying server RPObject
      Returns:
      the created Entity