add Android app skeleton

GitOrigin-RevId: 35018deabaa16e9b80e9a87b937fa7f24b6e06dd
This commit is contained in:
Colin McMillen 2019-12-06 14:55:42 -05:00
parent f6d1cac42f
commit 3f603d6bd3

View File

@ -24,6 +24,10 @@ namespace Jumpy {
display = (IDisplay) Services.GetService(typeof(IDisplay)); display = (IDisplay) Services.GetService(typeof(IDisplay));
display.Initialize(Window, graphics); display.Initialize(Window, graphics);
display.SetFullScreen(fullScreen); display.SetFullScreen(fullScreen);
// TODO: something like this for mobile devices?
// graphics.SupportedOrientations =
// DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight;
base.Initialize(); base.Initialize();
} }