@PublicSpi
public interface Effect
effect
provider
from an effect description
.Modifier and Type | Method and Description |
---|---|
StoredEffect |
apply()
Performs the actual changes in the state of the world.
|
@NotNull StoredEffect apply() throws StructureException
effect desription
that undoes those changes.StructureException
- if it is impossible to apply the effect despite
all prior checks made by the EffectProvider
. Usually means
that the state of the world has changed unexpectedly since those
checks were made.Copyright © 2024 Tempo Software. All Rights Reserved.