making a function that has a list of characters inside that can be chosen if that list inside is true #177
Unanswered
RunninPigeon
asked this question in
Q&A
Replies: 1 comment
-
/// @self
/// @function get_game_players(_game)
function get_game_players(_game)
{
switch (_game)
{
case GAMETYPE.SONIC1:
return [PLAYER.SONIC];
break;
case GAMETYPE.SONIC2:
return [PLAYER.SONIC, PLAYER.TAILS];
break;
// ...
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions