made riddler for rooms, etc...

This commit is contained in:
Luca Carnegie
2019-05-29 13:42:53 -04:00
parent 7c2e8f8df6
commit c50c63477c
9 changed files with 61 additions and 64 deletions

View File

@@ -0,0 +1,27 @@
package com.bayviewglen.zork.Entities;
public class Riddle {
private String question;
private String answer;
public Riddle() {
this.question = "The quick brown fox jumped over the lazy dog";
this.answer = "Okay";
}
public Riddle(String question, String answer) {
this.question = question;
this.answer = answer;
}
public String getQuestion() {
return question;
}
public String getAnswer() {
return answer;
}
}