From 3f603d6bd3c9d6ec19e2bf2dae28dc9b3b003efb Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Fri, 6 Dec 2019 14:55:42 -0500 Subject: [PATCH] add Android app skeleton GitOrigin-RevId: 35018deabaa16e9b80e9a87b937fa7f24b6e06dd --- Jumpy.Shared/JumpyGame.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jumpy.Shared/JumpyGame.cs b/Jumpy.Shared/JumpyGame.cs index 50a4158..f704a64 100644 --- a/Jumpy.Shared/JumpyGame.cs +++ b/Jumpy.Shared/JumpyGame.cs @@ -24,6 +24,10 @@ namespace Jumpy { display = (IDisplay) Services.GetService(typeof(IDisplay)); display.Initialize(Window, graphics); display.SetFullScreen(fullScreen); + // TODO: something like this for mobile devices? + // graphics.SupportedOrientations = + // DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight; + base.Initialize(); }