Arcnor / pixel-dungeon-gdx

LibGDX port of the awesome Pixel Dungeon
95 stars 83 forks source link

Key remapping settings (#33) #35

Closed Arcnor closed 10 years ago

Arcnor commented 10 years ago

Ok, this is a big one :smile:. It's also a bit hacky in some places, but I don't have much more time to make it pretty and that can be done later.

This creates a new key remapping setting window, and manages the loading and saving of it. The actual link between keys and actions is done with a new enum GameAction that also contains the description of the actual action performed.

To be able to merge this PR, two things need to be done: