1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

indent this a bit nicer

This commit is contained in:
Ellpeck 2020-02-24 14:05:07 +01:00
parent 08c4281da1
commit 0adb444c69

View file

@ -12,11 +12,12 @@ namespace MLEM.Misc {
public static TextInputWrapper Current { public static TextInputWrapper Current {
get { get {
if (current == null) if (current == null)
throw new InvalidOperationException("The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" + throw new InvalidOperationException(
"DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" + "The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" +
"Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" + "DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" +
"Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" + "Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" +
"Note that the primitive wrapper needs to have its Update() method called."); "Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" +
"Note that the primitive wrapper needs to have its Update() method called.");
return current; return current;
} }
set => current = value; set => current = value;