![]() |
XII Release 0.1.0
|
A central place for creating and retrieving action maps. More...
#include <ActionMapManager.h>
Static Public Member Functions | |
static void | RegisterActionMap (xiiStringView sMapping, xiiStringView sParentMapping={}) |
Adds a new action map with the given name and an optional inherited parent mapping. Asserts if the name was already used before. | |
static void | UnregisterActionMap (xiiStringView sMapping) |
Deletes the action map with the given name. Asserts, if no such map exists. | |
static xiiActionMap * | GetActionMap (xiiStringView sMapping) |
Returns the action map with the given name, or nullptr, if it doesn't exist. | |
A central place for creating and retrieving action maps.
|
static |
Adds a new action map with the given name and an optional inherited parent mapping. Asserts if the name was already used before.
sMapping | Name of the new mapping. This string has to be used when adding actions to the map. |
sParentMapping | If set, the new mapping will inherit all actions of this mapping. The name must exist and resolve to a valid mapping once xiiActionMap::BuildActionTree is called to generate the action tree. |