added explicit type to game objects since obj.constructure.name is returning 'Object'