refactor: improved usage of target pointers

This commit is contained in:
Oleg Agafonov 2024-02-18 15:38:53 +04:00
parent 78612ddc91
commit 46d751f996
476 changed files with 548 additions and 563 deletions

View file

@ -15,7 +15,9 @@ public interface TargetPointer extends Serializable, Copyable<TargetPointer> {
/**
* Init dynamic targets (must save current targets zcc to fizzle it later on outdated targets)
* - one shot effects: no needs to init
* - continues effects: must use init logic
* - continues effects: must use init logic (effect init on resolve or game add)
* <p>
* Targets list can be accessible before effect's init.
*/
void init(Game game, Ability source);