Class PlaceableFactory
java.lang.Object
com.csse3200.game.entities.factories.PlaceableFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCreates the basic most broad Placeable Entitystatic EntityCreates a chest Entitystatic EntityCreates a fence Entitystatic EntityCreates a gate Entitystatic Entitystatic Entitystatic EntityCreates a pump Entity - used in conjunction with sprinklersstatic EntityCreates a sprinkler Entity
-
Constructor Details
-
PlaceableFactory
public PlaceableFactory()
-
-
Method Details
-
createBasePlaceable
Creates the basic most broad Placeable Entity- Parameters:
type- the type of entity from the EntityType enum- Returns:
- the entity that was made
-
createFence
Creates a fence Entity- Returns:
- the fence entity that was made
-
createGate
Creates a gate Entity- Returns:
- the gate entity that was made
-
createSprinkler
Creates a sprinkler Entity- Returns:
- the sprinkler that was made
-
createPump
Creates a pump Entity - used in conjunction with sprinklers- Returns:
- the pump that was made
-
createChest
Creates a chest Entity- Returns:
- the chest that was made
-
createLight
-
createGoldenTrophy
-