game input class