Created
October 9, 2019 03:17
-
-
Save IntegerMan/bc1aecb1769fc72efcb9212aa59d0280 to your computer and use it in GitHub Desktop.
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
switch (entry.Name) { | |
case "Bruce Wayne": | |
case "Matt Eland": | |
return Heroes.Batman; | |
case "The Thing": | |
if (entry.Source == "John Carpenter") { | |
return Heroes.AntiHero; | |
} | |
return Heroes.ComicThing; | |
case "Bruce Banner": | |
return Heroes.TheHulk; | |
// Many heroes omitted... | |
default: | |
return Heroes.NotAHero; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment