Our final class that we need to implement for this chapter is
PlayerController is responsible for handling all of the input events and providing mechanisms to process these events in the queue. This class can be found at
A class diagram of this class is shown in the following screenshot (Figure 14):
The source for
PlayerController is listed here:
package com.packtpub.libgdx.bludbourne; import java.util.HashMap; import java.util.Map; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; ...