Package horizons :: Package scenario :: Module actions :: Class ActionsRegistry
[hide private]
[frames] | no frames]

Class ActionsRegistry

source code

util.python.registry.Registry --+
                                |
                               ActionsRegistry

Class that holds all available action functions.

Instance Methods [hide private]
 
register_function(self, func, name=None)
Register action.
source code
Method Details [hide private]

register_function(self, func, name=None)

source code 

Register action.

By default, the function's name is used as identifier of the action. You can supply a `name` parameter to use instead.