Interface IStructureEventTogglePrepare
- All Superinterfaces:
IAnimatedArchitectureEvent,ICancellableAnimatedArchitectureEvent,IStructureToggleEvent
- All Known Implementing Classes:
StructureEventTogglePrepare
public interface IStructureEventTogglePrepare
extends IStructureToggleEvent, ICancellableAnimatedArchitectureEvent
Represents a toggle action that might be applied to a structure. Note that not cancelling this event does not mean
that action is guaranteed to take place, as other factors might prevent that from happening (e.g. the structure being
locked).
If you are looking for a guaranteed action, use IStructureEventToggleStart instead.
-
Method Summary
Modifier and TypeMethodDescriptionGets the new coordinates of the structure after the toggle.Methods inherited from interface nl.pim16aap2.animatedarchitecture.core.events.IAnimatedArchitectureEvent
getEventName, isAsynchronousMethods inherited from interface nl.pim16aap2.animatedarchitecture.core.events.ICancellableAnimatedArchitectureEvent
isCancelled, setCancelledMethods inherited from interface nl.pim16aap2.animatedarchitecture.core.events.IStructureToggleEvent
getActionType, getCause, getResponsible, getSnapshot, getTime, isAnimationSkipped
-
Method Details
-
getNewCuboid
Cuboid getNewCuboid()Gets the new coordinates of the structure after the toggle.- Returns:
- The new coordinates of the structure after the toggle.
-