Class which provides interface for easily assigning and resolving input.
public void addListener(InputProcessor listener); //Adds a listener to the listener list
public void removeListener(InputProcessor listener); //Removes a listener
There should be an input processor for entities and a separate one for menus. This will allows us to stop input to entities when a menu is open by using an input multiplexer. (See: https://github.com/libgdx/libgdx/wiki/Event-handling)
Class which provides interface for easily assigning and resolving input. public void addListener(InputProcessor listener); //Adds a listener to the listener list public void removeListener(InputProcessor listener); //Removes a listener
There should be an input processor for entities and a separate one for menus. This will allows us to stop input to entities when a menu is open by using an input multiplexer. (See: https://github.com/libgdx/libgdx/wiki/Event-handling)