/// <summary> /// Initializes a new instance of the <see cref="GooglePlayGameHelper"/> class. /// </summary> /// <param name="activity">The activity.</param> /// <param name="adapter">The adapter.</param> public GooglePlayGameHelper(Activity activity, WaveEngine.Adapter.Adapter adapter) { this.adapter = adapter; this.activity = activity; this.GravityForPopups = GravityFlags.Top | GravityFlags.Center; this.adapter.OnActivityResult += this.OnGooglePlayPanelActivityResult; }
/// <summary> /// Initializes a new instance of the <see cref="GooglePlayGameHelper"/> class. /// </summary> /// <param name="activity">The activity.</param> /// <param name="adapter">The adapter.</param> public GooglePlayGameHelper(Activity activity, WaveEngine.Adapter.Adapter adapter) { this.adapter = adapter; this.activity = activity; this.GravityForPopups = GravityFlags.Top | GravityFlags.Center; this.adapter.OnActivityResult += this.OnGooglePlayPanelActivityResult; }
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; }
/// <summary> /// Initializes a new instance of the <see cref="GooglePlayGameService"/> class. /// </summary> public GooglePlayGameService() { this.adapter = (Game.Current).Application.Adapter as WaveEngine.Adapter.Adapter; this.activity = adapter.Activity; }
/// <summary> /// Initializes a new instance of the <see cref="GooglePlayGameService"/> class. /// </summary> public GooglePlayGameService() { this.adapter = (Game.Current).Application.Adapter as WaveEngine.Adapter.Adapter; this.activity = adapter.Activity; }