Exemple #1
0
 public ScrollingTextPage(Screen screen, CutsceneBorder border)
 {
     m_screen    = screen;
     m_border    = border;
     m_animation = ScrollingTextAnimation.Scroll;
     m_lines     = new List <Element>();
     m_height    = 0.0f;
 }
Exemple #2
0
 public ScrollingText(TextAsset textFile, CutsceneBorder border)
 {
     m_textFile   = textFile;
     m_border     = border;
     m_pages      = new List <ScrollingTextPage>();
     m_page       = 0;
     m_timeOnPage = 0.0f;
 }