Last active
June 8, 2019 12:20
-
-
Save markmaynard/c71407f3de3aa08dd6ad4c097d712717 to your computer and use it in GitHub Desktop.
Using my first thing factor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val factory = ThingFactory() | |
factory.run<Thing1>() // "Run Fast!" | |
factory.play<Thing1>() // "Play Hard!" | |
factory.play<Thing2>() // "Play Hard!" ???? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment