MusicAdam / TotemDefender

Simple physics based game.
0 stars 1 forks source link

InputProcessing #18

Closed MusicAdam closed 9 years ago

MusicAdam commented 9 years ago

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)

MusicAdam commented 9 years ago

7c7d7ff02fcde596195121290cdfcb57a2f70010