Package pvzclone.model.impl
Class SunsFactory
java.lang.Object
pvzclone.model.impl.SunsFactory
- All Implemented Interfaces:
EntitiesFactory
This class contains methods to create Sun entities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntities
(int n) Generates a Set of Entities.Generates an Entity.
-
Constructor Details
-
SunsFactory
public SunsFactory()
-
-
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.
-