superpowers / superpowers-game

:video_game: Make 2D and 3D games in live collaboration with Superpowers
http://superpowers-html5.com/
Other
402 stars 93 forks source link

Modified code to allow use of hotkey edits via hotKeyMgr object. #157

Open ivanixgames opened 8 years ago

ivanixgames commented 8 years ago

This PR is code for a proposed HotKeyManager to enable dynamic editing of hotkey definitions as I described in #129. This is part 2 of a 2 part request. This code depends on the 1st PR submitted in superpowers-core repo:

https://github.com/superpowers/superpowers-core/pull/152

Dependancy Note: HotKeyMgr class found in ./core/SupCore/HotKeyMgr.ts hotKeyMgr object created in ./core/SupCore/index.ts of superpowers/core repo