Use generics improvements in Java 8 to omit unnecessary type declaration.
GameLoop can now handle multiple input sources.