added 'suchThat' predicate function to 'mapToType' in GameObject