Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 834 | chris | 1 | using System; |
| 2 | using System.Collections.Generic; |
||
| 3 | using System.Linq; |
||
| 4 | |||
| 5 | using MonoTouch.Foundation; |
||
| 6 | using MonoTouch.UIKit; |
||
| 7 | using com.badlogic.gdx.backends.ios; |
||
| 8 | using com.gebauz.burutaru; |
||
| 9 | |||
| 10 | namespace com.gebauz.burutaru |
||
| 11 | { |
||
| 12 | public class Application |
||
| 13 | { |
||
| 14 | [Register ("AppDelegate")] |
||
| 15 | public partial class AppDelegate : IOSApplication { |
||
| 16 | public AppDelegate(): base(new BurutaruGame(), getConfig()) { |
||
| 17 | |||
| 18 | } |
||
| 19 | |||
| 20 | internal static IOSApplicationConfiguration getConfig() { |
||
| 21 | IOSApplicationConfiguration config = new IOSApplicationConfiguration(); |
||
| 22 | config.orientationLandscape = true; |
||
| 23 | config.orientationPortrait = false; |
||
| 24 | config.useAccelerometer = true; |
||
| 25 | config.useMonotouchOpenTK = true; |
||
| 26 | config.useObjectAL = true; |
||
| 27 | return config; |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | static void Main (string[] args) |
||
| 32 | { |
||
| 33 | UIApplication.Main (args, null, "AppDelegate"); |
||
| 34 | } |
||
| 35 | } |
||
| 36 | } |