mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
indent this a bit nicer
This commit is contained in:
parent
08c4281da1
commit
0adb444c69
1 changed files with 6 additions and 5 deletions
|
@ -12,11 +12,12 @@ namespace MLEM.Misc {
|
|||
public static TextInputWrapper Current {
|
||||
get {
|
||||
if (current == null)
|
||||
throw new InvalidOperationException("The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" +
|
||||
"DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" +
|
||||
"Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" +
|
||||
"Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" +
|
||||
"Note that the primitive wrapper needs to have its Update() method called.");
|
||||
throw new InvalidOperationException(
|
||||
"The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" +
|
||||
"DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" +
|
||||
"Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" +
|
||||
"Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" +
|
||||
"Note that the primitive wrapper needs to have its Update() method called.");
|
||||
return current;
|
||||
}
|
||||
set => current = value;
|
||||
|
|
Loading…
Reference in a new issue