Added the getInput, update, and render functions to the gameobject class.