I have hit a problem with signing in to Google Play in my application for Google Play Services API. I am currently using BaseGameUtils for achievements, and I have found that to use it in an activity, the activity must extend BaseGameUtils, or BaseGameActivity.
Here is where my problem is; All the the activities that I need to use BaseGameUtils with already extend classes that are required for proper function. Here's an example:
// This would be in Play.java, one of the main activities in use
public class Play extends GameState {
private boolean debug = true;
// I want to extend BaseGameUtils from this class, yet I need to
// Extend GameState to retain functional operation
}
How would I go about doing this using BaseGameUtils if I can't extend from it, and how could I use it when, where I need it, already extends another class.
P.S. I already have BaseGameUtils and everything needed set up and working. However without the sign in feature, it is useless and crashes the game. I have places a few try/catches in my code to stop this for debugging purposes.