APNAP
Posted: 15 Jul 2014, 10:02
Active Player, Non-Active Player.
For effects which affect all players at the 'same time', we're generally using a for loop for all players:
Would creating a MagicFor/MagicLoop be feasible? Some of the loops can get quite deep, and themselves hold loops of their own.
Although actually - maybe just changing the game.getPlayers() to order the fetched players in APNAP order. (Always miss the obvious, lol)
For effects which affect all players at the 'same time', we're generally using a for loop for all players:
- Code: Select all
for (final MagicPlayer player : game.getPlayers())
Would creating a MagicFor/MagicLoop be feasible? Some of the loops can get quite deep, and themselves hold loops of their own.
Although actually - maybe just changing the game.getPlayers() to order the fetched players in APNAP order. (Always miss the obvious, lol)