Class KeyDestroyingDoorFactory
java.lang.Object
games.stendhal.server.entity.mapstuff.portal.DoorFactory
games.stendhal.server.entity.mapstuff.portal.LockedDoorFactory
games.stendhal.server.entity.mapstuff.portal.KeyDestroyingDoorFactory
- All Implemented Interfaces:
ConfigurableFactory
A factory for
KeyDestroyingDoor
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a locked door.Methods inherited from class games.stendhal.server.entity.mapstuff.portal.LockedDoorFactory
getKey
Methods inherited from class games.stendhal.server.entity.mapstuff.portal.DoorFactory
getClass, getRejectedMessage
-
Constructor Details
-
KeyDestroyingDoorFactory
public KeyDestroyingDoorFactory()
-
-
Method Details
-
create
Create a locked door.- Specified by:
create
in interfaceConfigurableFactory
- Overrides:
create
in classLockedDoorFactory
- Parameters:
ctx
- Configuration context.- Returns:
- A KeyDestroyingDoor.
- Throws:
IllegalArgumentException
- If there is a problem with the attributes. The exception message should be a value suitable for meaningful user interpretation.- See Also:
KeyDestroyingDoor
-