Created inheritable Game class getting function