Package pvzclone.model.impl
Class ZombiesFactory
java.lang.Object
pvzclone.model.impl.ZombiesFactory
- All Implemented Interfaces:
EntitiesFactory
Class that implements EntitiesFactory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntities
(int n) Generates a Set of Entities.Generates an Entity.
-
Constructor Details
-
ZombiesFactory
public ZombiesFactory()Constructor of ZombiesFactory.
-
-
Method Details
-
createEntity
Description copied from interface:EntitiesFactory
Generates an Entity.- Specified by:
createEntity
in interfaceEntitiesFactory
- Returns:
- the generated entity.
-
createEntities
Description copied from interface:EntitiesFactory
Generates a Set of Entities. CallsEntitiesFactory.createEntity()
n times.- Specified by:
createEntities
in interfaceEntitiesFactory
- Parameters:
n
- number of entities to generate.- Returns:
- the generated set of entities.
-