Class PressurePlateFactory
java.lang.Object
com.csse3200.game.entities.factories.PressurePlateFactory
Factory class for creating pressure plate entities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCreates a pressure plate that can only be pressed down by weighted boxes and the playerstatic EntitycreateLadderPlate(String id, int offset, float stepInterval) static EntityCreates a general pressure plate that can be pressed by the player
-
Method Details
-
createPressurePlate
Creates a general pressure plate that can be pressed by the player- Returns:
- a new entity of the pressure plate
-
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
-