Key Management

Version 2 (Sickboy, 05/23/2010 17:24)

1 1 Sickboy
h1. Key Management
2 1 Sickboy
3 2 Sickboy
CBA provides functionality for Keyhandlers (keyUp and keyDown), "scripted": or "read from config":
4 2 Sickboy
next to a lower level API to "displayHandlers":
5 1 Sickboy
The displayhandler API will make sure the keyhandlers are re-attached after save/close game/start game/load,
6 1 Sickboy
while they keyhandlers on top of that provide a solid API and fast performance (array index).