private void ShowLine(int index) { if (index > _lastIndex) { _dialogueView.Clear(); print("no more dialogue :("); return; } var line = _lines.SingleOrDefault(l => l.index == index); if (line == null) { // no dialogue for this index return; } string message = string.Format("{0}: {1}", line.speaker, line.text); _dialogueView.ShowText(message); }
public void InteractFalseKettle() { _dialogueView.ShowText(falseKettleMessage); }