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:
Oleg Agafonov 2023-08-01 16:20:12 +04:00
parent e724166569
commit 3d3358cd05
14 changed files with 279 additions and 149 deletions

View file

@ -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.