Just spent a whole hour on a stupid problem:
//... (Storeable is an interface)
HashMap<String, Class<? extends Storeable>> types = new HashMap<String, Class<? extends Storeable>>();
//... (object is an instance of a class that implements Storeable)
types.add(object.getTag(), object.getClass());
//...
Thought it was a problem with the Generics, but …
Some screenshots of my current project. Guess what it’s going to be? (Pretty obvious, I guess)

Looks pretty cool, eh? I guess that shadow over there to the right is coincidence. But maybe wont be later on, who knows :)


I’ll keep you updated ;)
This post was imported from …
Now, you might remember (or not, since it has been quite a while since I posted) that I had a few projects running - The PI Mineshooter thingy, sadly abandoned, the Zombiehunt game, still there somewhere, VSGE, still there together with Zombiehunt - all in C++.
Now here I come posting a …