Updated GameObject class to hold a string of objectType