Class PlaceableFactory

java.lang.Object
com.csse3200.game.entities.factories.PlaceableFactory

public class PlaceableFactory extends Object
  • Constructor Details

    • PlaceableFactory

      public PlaceableFactory()
  • Method Details

    • createBasePlaceable

      public static Entity createBasePlaceable(EntityType type)
      Creates the basic most broad Placeable Entity
      Parameters:
      type - the type of entity from the EntityType enum
      Returns:
      the entity that was made
    • createFence

      public static Entity createFence()
      Creates a fence Entity
      Returns:
      the fence entity that was made
    • createGate

      public static Entity createGate()
      Creates a gate Entity
      Returns:
      the gate entity that was made
    • createSprinkler

      public static Entity createSprinkler()
      Creates a sprinkler Entity
      Returns:
      the sprinkler that was made
    • createPump

      public static Entity createPump()
      Creates a pump Entity - used in conjunction with sprinklers
      Returns:
      the pump that was made
    • createChest

      public static Entity createChest()
      Creates a chest Entity
      Returns:
      the chest that was made
    • createLight

      public static Entity createLight()
    • createGoldenTrophy

      public static Entity createGoldenTrophy()