grundlegente Umstellung + Earthdawn Implemntation
This commit is contained in:
28
src/main/java/de/ocame/wuerfelbot/Shadowrun/help.java
Normal file
28
src/main/java/de/ocame/wuerfelbot/Shadowrun/help.java
Normal file
@ -0,0 +1,28 @@
|
||||
package de.ocame.wuerfelbot.Shadowrun;
|
||||
|
||||
|
||||
public class help {
|
||||
|
||||
private final StringBuilder hilfstext;
|
||||
private final String sprache;
|
||||
|
||||
public help(String sprache) {
|
||||
this.sprache = sprache;
|
||||
hilfstext = new StringBuilder();
|
||||
}
|
||||
|
||||
public void add(String befehl, String hilftext) {
|
||||
if(this.hilfstext.length() > 0)
|
||||
this.hilfstext.append("\n\n");
|
||||
this.add("**" + befehl + "** " + hilftext);
|
||||
}
|
||||
|
||||
public void add(String hilftext) {
|
||||
this.hilfstext.append(hilftext);
|
||||
}
|
||||
|
||||
public void send() {
|
||||
StringBuilder ausgabe = new StringBuilder();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user