public interface ExitConnectorModel
Modifier and Type | Field and Description |
---|---|
static boolean |
AUTO_CREATE_EXIT_DEFAULT
The default value for
isAutoCreateExit() . |
static java.lang.String |
EXIT_ARCHETYPE_NAME_DEFAULT
The default value for
getExitArchetypeName() . |
static boolean |
PASTE_EXIT_NAME_DEFAULT
The default value for
isPasteExitName() . |
Modifier and Type | Method and Description |
---|---|
void |
addExitConnectorModelListener(ExitConnectorModelListener listener)
Adds an
ExitConnectorModelListener to be notified of changes. |
java.lang.String |
getExitArchetypeName()
Returns the archetype name when creating exit game objects.
|
ExitLocation |
getExitLocation()
Returns the remembered exit location.
|
boolean |
isAutoCreateExit()
Returns whether exit game objects should be auto-created when needed.
|
boolean |
isPasteExitName()
Returns whether the exit name should be updated.
|
void |
removeExitConnectorModelListener(ExitConnectorModelListener listener)
Removes an
ExitConnectorModelListener to be notified of changes. |
void |
setAutoCreateExit(boolean autoCreateExit)
Sets whether exit game objects should be auto-created when needed.
|
void |
setExitArchetypeName(java.lang.String exitArchetypeName)
Sets the archetype name for creating exit game objects.
|
void |
setExitLocation(ExitLocation exitLocation)
Sets the remembered exit location.
|
void |
setPasteExitName(boolean pasteExitName)
Sets whether the exit name should be updated.
|
static final boolean PASTE_EXIT_NAME_DEFAULT
isPasteExitName()
.static final boolean AUTO_CREATE_EXIT_DEFAULT
isAutoCreateExit()
.static final java.lang.String EXIT_ARCHETYPE_NAME_DEFAULT
getExitArchetypeName()
.@Nullable ExitLocation getExitLocation()
null
void setExitLocation(@Nullable ExitLocation exitLocation)
exitLocation
- the exit location or null
boolean isPasteExitName()
void setPasteExitName(boolean pasteExitName)
pasteExitName
- whether the exit name should be updatedboolean isAutoCreateExit()
void setAutoCreateExit(boolean autoCreateExit)
autoCreateExit
- whether exit game objects should be auto-created
when needed@NotNull java.lang.String getExitArchetypeName()
void setExitArchetypeName(@NotNull java.lang.String exitArchetypeName)
exitArchetypeName
- the archetype namevoid addExitConnectorModelListener(@NotNull ExitConnectorModelListener listener)
ExitConnectorModelListener
to be notified of changes.listener
- the listenervoid removeExitConnectorModelListener(@NotNull ExitConnectorModelListener listener)
ExitConnectorModelListener
to be notified of changes.listener
- the listener