public interface Binder
One Binder instance is created for each plugin. That instance is then passed into the register() method of all of the plugin's Listener objects.
void setClass(java.lang.Class clazz)
The class parameter should be set to the Class object that represents an event that the engine will fire. Using other Class objects will register listeners that take up memory, but will never actually be called.
clazz
- The class to register keys for.void bind(java.lang.Object key)