Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Achievement Management 🏆 #173

Open
bitbrain opened this issue Feb 14, 2019 · 0 comments
Open

Introduce Achievement Management 🏆 #173

bitbrain opened this issue Feb 14, 2019 · 0 comments

Comments

@bitbrain
Copy link
Owner

Introduce a new class called AchievementManager which can be accessed on the GameContext.

The responsibility of this class is to register achievements and measure progress. The manager itself has different "storage" implementations for the state:

  • DefaultAchievementConfiguration active by default
  • AndroidAchievementConfiguration (based on GooglePlay)

Each AchievementConfiguration provides UI handling and persistence of state respectively. This handler can be configured on the BraingdxGame itself via the super constructor:

public MyGame(AchievementConfiguration configuration) {
   super(configuration);
}

This allows people to provide custom configuration for different platforms.

@bitbrain bitbrain added this to the Version 1.0.0 (Initial Release) milestone Feb 14, 2019
@bitbrain bitbrain added this to Icebox in Core via automation Feb 14, 2019
@bitbrain bitbrain modified the milestones: Version 1.0.0 (Initial Release), 0.6.0 Mar 11, 2019
@bitbrain bitbrain changed the title Introduce Achievement Management Introduce Achievement Management 🏆 Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Core
  
Icebox
Development

No branches or pull requests

1 participant