Class FloorFactory

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

public class FloorFactory extends Object
Factory to create Floor entities using individual PNG textures.

Each Floor entity type should have a creation method that returns a corresponding entity.

  • Method Details

    • createStaticFloor

      public static Entity createStaticFloor()
      Creates a static tiled floor entity.
      Returns:
      entity
    • createGroundFloor

      public static Entity createGroundFloor()
      Creates a ground floor that extends to the bottom of the screen.
    • createDecorativeFloor

      public static Entity createDecorativeFloor()
      Creates a decorative floor without physics collision.
      Returns:
      entity