I created a class, which has several member variables, all of which are serializable... except one Bitmap! I tried to extend bitmap and implement serializable, not thinking Bitmap is a final class.
I want to save the class (it basically forms the current state of a game) so a player can pick-up and load the game.
The way I see it I have two options: 1) Find another way to save the game state. Any help here would be appreciated.
2) change the bitmap member variable to an int, say, and create a BitmapGetter class that has a static method returning bitmaps based on ints. (This option is not easy, as my class contains so many bitmap possiblities and the way I created the game means this will require an incredible amount of effort.
Basically I have no one to blame but myself for lazily creating a bitmap variable without thinking, but I would appreciate any help...