Package io.writeopia.sdk.model.action
Class BackstackAction.StoryTextChange
-
- All Implemented Interfaces:
-
io.writeopia.sdk.model.action.SingleAction
public final class BackstackAction.StoryTextChange extends BackstackAction implements SingleAction
A change in the text of the story. There's a separation between StoryTextChange and StoryStateChange because StoryTextChange and not saved as a unit for usability and performance reasons. A user wouldn't like to revert character by character so the BackstackManager must handle merging them.
-
-
Constructor Summary
Constructors Constructor Description BackstackAction.StoryTextChange(StoryStep storyStep, Integer position)
-
Method Summary
Modifier and Type Method Description StoryStepgetStoryStep()IntegergetPosition()-
-
Constructor Detail
-
BackstackAction.StoryTextChange
BackstackAction.StoryTextChange(StoryStep storyStep, Integer position)
-
-
Method Detail
-
getStoryStep
StoryStep getStoryStep()
-
getPosition
Integer getPosition()
-
-
-
-