Main interaction class. Responsible for loading dialogue from an interaction file, presenting list of lines.
예제 #1
0
파일: Hero.cs 프로젝트: ErraticUnicorn/MOSH
 public void loadInteraction(Character c)
 {
     interaction = c.script;
     if (interaction != null)
     {
         current = interaction.getStartingLine();
         say = renewPanelContent();
         cursor = 0;   // puts cursor at top
         scrollTextIndex = 0;
         responseShowPauseTimer = 0.0f;
         advanceArrowFlashTimer = 0.0f;
     }
 }
예제 #2
0
 public void setScript(string file)
 {
     this.script = new Interaction(file);
 }