Example #1
0
 public Dialogue()
 {
     this.character        = new CharacterData.Info();
     this.appearMeth       = AppearMethod.FADE;
     this.sentenceList     = new List <Sentence>(1);
     this.time             = new Time();
     this.isLeft           = true;
     this.answerChoiceList = new List <AnswerChoice>();
     this.disappearMeth    = AppearMethod.FADE;
 }
Example #2
0
 public void UpdateCharacterInfo(ref CharacterData.Info characterInfo)
 {
     for (int i = 0; i < characterData.characterList.Count; i++)
     {
         if (characterInfo.name == characterData.characterList[i].name)
         {
             characterInfo.spriteList  = characterData.characterList[i].spriteList;
             characterInfo.charPosList = characterData.characterList[i].charPosList;
         }
     }
 }
Example #3
0
 public Dialogue(CharacterData.Info character, AppearMethod appearMeth, List <Sentence> sentenceList,
                 bool isLeft, bool isOutScreen, List <AnswerChoice> answerChoiceList, AppearMethod disappearMeth)
 {
     this.character        = character;
     this.appearMeth       = appearMeth;
     this.sentenceList     = sentenceList;
     this.time             = new Time();
     this.isLeft           = isLeft;
     this.answerChoiceList = answerChoiceList;
     this.disappearMeth    = disappearMeth;
 }