Class PressurePlateFactory

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

public class PressurePlateFactory extends Object
Factory class for creating pressure plate entities.
  • Method Details

    • createPressurePlate

      public static Entity createPressurePlate()
      Creates a general pressure plate that can be pressed by the player
      Returns:
      a new entity of the pressure plate
    • createBoxOnlyPlate

      public static Entity createBoxOnlyPlate()
      Creates a pressure plate that can only be pressed down by weighted boxes and the player
      Returns:
      a new entity of the box pressable only pressure plate
    • createLadderPlate

      public static Entity createLadderPlate(String id, int offset, float stepInterval)