Sowe'regoingtosaythisisgoingtobe a swimmerandinsideofthisswimmer, whatwe'regoingtodoiswejustwanttoreturnanobjectinsideofthisfunctionthathasourswimfunctionality.
Sowe'regonnasayreturn, wewanttoreturnanobject, andtheobjectisgoingtohave a swingproperty, whichis a function, andthisfunctionisjustgoingtodowhateverswimdidbefore.
Soif I justcopythis, comedownhereand I sayflying, swimmingmonsterandwejustneedtocreate a newfunctioncalled a firehoseflyerjustlikethat.
Andwejustneedtopassinthemonsterandfireisgonnalookjustlikeswimmerexceptfor a firehereisgoingtobeslightlydifferentlybecauseit's goingtohave a flyfunctionandit's justgoingtosayflewinhere.
Nowifwecreate a flyingswimmingmonsterjustlikethis, wecansayobjectdotfly.