Class OnePlayerRoomDoorFactory
java.lang.Object
games.stendhal.server.entity.mapstuff.portal.DoorFactory
games.stendhal.server.entity.mapstuff.portal.OnePlayerRoomDoorFactory
- All Implemented Interfaces:
ConfigurableFactory
A factory for
OnePlayerRoomDoor
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a door that lets one player at a time to enter.Methods inherited from class games.stendhal.server.entity.mapstuff.portal.DoorFactory
getClass, getRejectedMessage
-
Constructor Details
-
OnePlayerRoomDoorFactory
public OnePlayerRoomDoorFactory()
-
-
Method Details
-
create
Create a door that lets one player at a time to enter.- Parameters:
ctx
- Configuration context.- Returns:
- A OnePlayerRoomDoor.
- Throws:
IllegalArgumentException
- If there is a problem with the attributes. The exception message should be a value suitable for meaningful user interpretation.- See Also:
OnePlayerRoomDoor
-