public GameHelper(Activity activity) { this.activity = activity; this.GravityForPopups = GravityFlags.Bottom | GravityFlags.Center; achievmentsCallback = new AchievementsCallback(this); leaderboardsCallback = new LeaderBoardsCallback(this); }
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; }
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); }