mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 13:04:46 +00:00
Added several more dialog functions for the rest of the dialog options.
This commit is contained in:
1 parent
092b3ce0c1
commit
eb45a6a959
2 files changed
+50
No files matched your search
@@ -224,4 +224,39 @@ public class Dialog implements ICompatibilty, IDialog {
|
||||
public void setCommand(String command) {
|
||||
this.command = command;
|
||||
}
|
||||
|
||||
public void setDarkenScreen(boolean darkenScreen) {
|
||||
this.darkenScreen = darkenScreen;
|
||||
}
|
||||
public boolean getDarkenScreen() {
|
||||
return this.darkenScreen;
|
||||
}
|
||||
|
||||
public void setDisableEsc(boolean disableEsc) {
|
||||
this.disableEsc = disableEsc;
|
||||
}
|
||||
public boolean getDisableEsc() {
|
||||
return this.disableEsc;
|
||||
}
|
||||
|
||||
public void setShowWheel(boolean showWheel) {
|
||||
this.showWheel = showWheel;
|
||||
}
|
||||
public boolean getShowWheel() {
|
||||
return this.showWheel;
|
||||
}
|
||||
|
||||
public void setHideNPC(boolean hideNPC) {
|
||||
this.hideNPC = hideNPC;
|
||||
}
|
||||
public boolean getHideNPC() {
|
||||
return this.hideNPC;
|
||||
}
|
||||
|
||||
public void setSound(String sound) {
|
||||
this.sound = sound;
|
||||
}
|
||||
public String getSound() {
|
||||
return this.sound;
|
||||
}
|
||||
}
|
||||
@@ -34,5 +34,20 @@ public interface IDialog {
|
||||
|
||||
IDialogCategory getCategory();
|
||||
|
||||
void setDarkenScreen(boolean darkenScreen);
|
||||
boolean getDarkenScreen();
|
||||
|
||||
void setDisableEsc(boolean disableEsc);
|
||||
boolean getDisableEsc();
|
||||
|
||||
void setShowWheel(boolean showWheel);
|
||||
boolean getShowWheel();
|
||||
|
||||
void setHideNPC(boolean hideNPC);
|
||||
boolean getHideNPC();
|
||||
|
||||
void setSound(String sound);
|
||||
String getSound();
|
||||
|
||||
void save();
|
||||
}
|
||||
Reference in new issue
Block a user