forked from External/mage
game: turn modification improves:
- fixed miss phase changed events and logs in some use cases; - added source info in turn modification logs; - added game logs for take and lost control of the spell (example: Word of Command) - added game logs for skip step; - added game logs for extra step; - added game logs for skip phase;
This commit is contained in:
parent
e724166569
commit
3d3358cd05
14 changed files with 279 additions and 149 deletions
|
|
@ -321,9 +321,10 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
* Defines player whose turn this player controls at the moment.
|
||||
*
|
||||
* @param game
|
||||
* @param playerId
|
||||
* @param playerUnderControlId
|
||||
* @param info additional info to show in game logs like source
|
||||
*/
|
||||
void controlPlayersTurn(Game game, UUID playerId);
|
||||
void controlPlayersTurn(Game game, UUID playerUnderControlId, String info);
|
||||
|
||||
/**
|
||||
* Sets player {@link UUID} who controls this player's turn.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue