public GameHelper(Activity activity)
 {
     this.activity         = activity;
     this.GravityForPopups = GravityFlags.Bottom | GravityFlags.Center;
     achievmentsCallback   = new AchievementsCallback(this);
     leaderboardsCallback  = new LeaderBoardsCallback(this);
 }
Exemple #2
0
        public GooglePlayGameHelper(Activity activity, WaveEngine.Adapter.Adapter adapter)
        {
            this.adapter          = adapter;
            this.activity         = activity;
            this.GravityForPopups = GravityFlags.Bottom | GravityFlags.Center;
            achievmentsCallback   = new AchievementsCallback(this);
            leaderboardsCallback  = new LeaderBoardsCallback(this);

            this.adapter.OnActivityResult += this.OnGooglePlayPanelActivityResult;
        }
Exemple #3
0
        public GameHelper(Activity activity)
        {
            if (Current != null)
            {
                throw new Exception("GameHelper already created!");
            }

            this.activity         = activity;
            this.GravityForPopups = GravityFlags.Bottom | GravityFlags.Center;
            achievmentsCallback   = new AchievementsCallback(this);
            leaderboardsCallback  = new LeaderBoardsCallback(this);

            Current = this;
        }
		public GameHelper (Activity activity)
		{
			this.activity = activity;
			this.GravityForPopups = GravityFlags.Bottom | GravityFlags.Center;
			achievmentsCallback = new AchievementsCallback (this);
			leaderboardsCallback = new LeaderBoardsCallback (this);

		}