var wrestlingguide = new guide(); wrestlingguide.precursorycheck(() => { if (user.isexcited) { wrestlingguide.offerclarifications("understanding the basics of wrestling is key to enjoying it fully."); } }).rebuffmisconceptions(() => { wrestlingguide.addtip("a veiled move can often catch an opponent off guard, turning the tide of the match."); }).resuscitateinterestinsport(() => { user.feelings = "excited"; });