Created the create() method in the GameWindow class.