mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-14 02:09:08 +01:00
22 lines
494 B
C#
22 lines
494 B
C#
using MLEM.Misc;
|
|
#if !FNA
|
|
using Microsoft.Xna.Framework;
|
|
#else
|
|
using Microsoft.Xna.Framework.Input;
|
|
#endif
|
|
|
|
namespace Demos.DesktopGL;
|
|
|
|
public static class Program {
|
|
|
|
public static void Main() {
|
|
#if FNA
|
|
MlemPlatform.Current = new MlemPlatform.DesktopFna(a => TextInputEXT.TextInput += a);
|
|
#else
|
|
MlemPlatform.Current = new MlemPlatform.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);
|
|
#endif
|
|
using var game = new GameImpl();
|
|
game.Run();
|
|
}
|
|
|
|
}
|