Class PlaceableFactory
java.lang.Object
com.csse3200.game.entities.factories.PlaceableFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
Creates the basic most broad Placeable Entitystatic Entity
Creates a chest Entitystatic Entity
Creates a fence Entitystatic Entity
Creates a gate Entitystatic Entity
static Entity
static Entity
Creates a pump Entity - used in conjunction with sprinklersstatic Entity
Creates 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
-