Exemplo n.º 1
0
        public HappinessAndroidGame()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            Console.WriteLine("HappinessAndroidGame");

            _virtKeyboard = new VirtualKeyboard_Android();
            _google       = new GoogleAuth_Android();
            _facebook     = new FacebookAuth_Android();
            _purchase     = new PurchaseSystem_Android();
            _platform     = new Platform_Android()
            {
                TheGame = this
            };
            _input       = new InputController_XNA();
            _fileManager = new FileManager_Android();
            _mediaPlayer = new MediaPlayer_XNA();
            _theGame     = new Happiness.Happiness();

            graphics.IsFullScreen = true;
            //graphics.PreferredBackBufferWidth = 1280;
            //graphics.PreferredBackBufferHeight = 720;
            graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight;
        }
Exemplo n.º 2
0
 public FBCallbackHandler(FacebookAuth_Android fba)
 {
     _fba = fba;
 }
Exemplo n.º 3
0
 public GraphCBHandler(FacebookAuth_Android fba)
 {
     _fba = fba;
 }