}
class Mode {
- constructor(name, has_input_prompt=false, shows_annotations=false, is_intro=false) {
+ constructor(name, has_input_prompt=false, shows_info=false, is_intro=false) {
this.name = name;
this.has_input_prompt = has_input_prompt;
- this.shows_annotations = shows_annotations;
+ this.shows_info= shows_info;
this.is_intro = is_intro;
}
}
center_pos = t;
}
};
- if (tui.mode.shows_annotations) {
+ if (tui.mode.shows_info) {
map_lines[explorer.position[0]][explorer.position[1]] = '?';
center_pos = explorer.position;
}
this.draw_map();
this.draw_turn_line();
this.draw_mode_line();
- if (this.mode.shows_annotations) {
+ if (this.mode.shows_info) {
this.draw_info();
} else {
this.draw_history();