Beispiel #1
0
 @Override
 public String getFunction() {
   return "addBranch(\\\""
       + chapter.getMessage().substring(1, chapter.getMessage().length() - 1)
       + "\\\", \\\""
       + chapter.getC().toLowerCase()
       + "\\\"); ";
 }
Beispiel #2
0
 @Override
 public String convertToJS() {
   String s = new String();
   s +=
       "{speaker:\"\", message:\"\", commands:\"addBranch(\\\""
           + chapter.getMessage()
           + "\\\", \\\""
           + chapter.getC().toLowerCase()
           + "\\\"); ";
   s += "\"}";
   return s;
 }