Last active
July 21, 2018 12:39
-
-
Save mstaples/8273e0c1fddd736d5661 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
$actions = []; | |
switch($rank) { | |
case 3; | |
$actions[] = "Hit all the things"; | |
case 2; | |
$actions[] = "Hit two things"; | |
case 1: | |
$actions[] = "Hit a thing"; | |
break; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Take a look here.