Elements/StoryboardPages/Base,Text,Image,AdvancingText (though Image is incomplete)
StoryboardFactory
The first two should replace the Elements/Storyboard and Screens/Storyboard components, and take their names.
With this advancement, Storyboards can now have different kinds of pages, not just text. All the custom StoryboardPages/* (which there should be many more of in the future 🙂) derive from the StoryboardPages::Base class, and have start(), advance(), update(), and render() virtual functions to override.
All previous Storyboard behavior (such as emitting a GameEvent on completion) is retained in StoryboardPlayer. Again, StoryboardPlayer should replace Storyboard in the codebase. Feel free to do that after this PR 🙂.
This PR will add to
AllegroFlare/
:Elements/StoryboardPlayer
Screens/StoryboardPlayer
Elements/StoryboardPages/Base,Text,Image,AdvancingText
(thoughImage
is incomplete)StoryboardFactory
The first two should replace the
Elements/Storyboard
andScreens/Storyboard
components, and take their names.With this advancement, Storyboards can now have different kinds of pages, not just text. All the custom
StoryboardPages/*
(which there should be many more of in the future 🙂) derive from theStoryboardPages::Base
class, and havestart()
,advance()
,update()
, andrender()
virtual functions to override.All previous
Storyboard
behavior (such as emitting aGameEvent
on completion) is retained inStoryboardPlayer
. Again,StoryboardPlayer
should replaceStoryboard
in the codebase. Feel free to do that after this PR 🙂.