Class EntityFactory
java.lang.Object
games.stendhal.client.entity.factory.EntityFactory
creates a Stendhal Entity object based on a Marauroa RPObject.
- Author:
- astridemma
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IEntity
createEntity(RPObject object)
Creates an Entity of the correct type depending on the Marauroa object.
-
Constructor Details
-
EntityFactory
protected EntityFactory()
-
-
Method Details
-
createEntity
Creates an Entity of the correct type depending on the Marauroa object.- Parameters:
object
- the underlying server RPObject- Returns:
- the created Entity
-